11 ms·
Just thought I'd be pedantic and point out that all the Go examples on that page aren't "package main", but are defining a main func; they won't compile to a bi
by jzelinskie 12y ago
Just thought I'd be pedantic and point out that all the Go examples on that page aren't "package main", but are defining a main func; they won't compile to a binary.
- karalabe 12y agoYes, the point with the package naming was to convey some additional information (i.e. erlclient, goserver, etc) to keep the snippet size down. I think they are understandable and workable as is, but nontheless you are perfectly right with your concern so I might update them at some point :)