So, in Go... you can either define imports, constants, types, variables one 
at a time... or you can group them using brackets.  Why was it decided not 
to be able to do that with functions?  Just curious.

func (
     main() {
        fmt.Println(helloWorld())
     }

     helloWorld() string {
        return "hello, world..."
     }
)

-- 
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/243e5beb-903e-4c95-897e-9d53fa1b521dn%40googlegroups.com.

Reply via email to