You are correct the func keyword for function definitions is functionally not needed. But it helps readability very much and also allows a natural syntax for anonymous functions and the definition of function types. Another factor is that it simplifies parser programming.
> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a7541fb9-cdf9-4311-8c3d-3c925dff9d73%40googlegroups.com.