Go Concepts - Runtime

From NovaOrdis Knowledge Base
Revision as of 03:05, 22 March 2016 by Ovidiu (talk | contribs) (→‎GOPATH)
Jump to navigation Jump to search

Internal

Environment Variables

GOPATH

  • External: go help gopath.

GOROOT

Compiling an Executable

TODO, more here: go build creates an executable only if among the packages being compiled there is a main package, and the package contains a main() function.