Skip to content

Instantly share code, notes, and snippets.

View mdempsky's full-sized avatar

Matthew Dempsky mdempsky

View GitHub Profile
* Go notes
To fit into Go's current package-oriented compilation mode, we can
define a set of top-down root entry-points into each package.
Any global variable initializations and init functions are always part
of the root.
For package main, the main function is also a root.