is there any coding style in golang?

3,578 views
Skip to first unread message

Daniel Mal

unread,
Nov 4, 2013, 12:02:01 AM11/4/13
to golan...@googlegroups.com
is there any coding style in golang? like google coding style.

Message has been deleted

Diddymus

unread,
Nov 4, 2013, 7:02:55 AM11/4/13
to golan...@googlegroups.com
I would like to see a collection of Go idioms. Idiomatic Go is talked about a lot and people ask how to do something the idiomatic way but there seems to be no central reference for these idioms. I remember Peter Haggar wrote a book called Practical Java that was made up of a number of Praxis, something like that maybe would be nice. While I am wishing ... it would be really nice to see an O'Reilly Go in a nutshell reference at some point as well ;)

Dave Cheney

unread,
Nov 4, 2013, 1:18:22 PM11/4/13
to Diddymus, golang-nuts
Have you seen the Go community wiki ? https://code.google.com/p/go-wiki/w/list
> --
> 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...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

ma...@eatsleeprepeat.net

unread,
Nov 4, 2013, 7:54:01 PM11/4/13
to golan...@googlegroups.com
I think Effective Go (http://golang.org/doc/effective_go.html) and the package documentation (http://golang.org/pkg/) go a long, long way towards this. The Go documentation is very clear and filled with a ton of (runnable/editable) examples of "idiomatic" Go.
Reply all
Reply to author
Forward
0 new messages