Go Concepts - Runtime: Difference between revisions
Jump to navigation
Jump to search
(→GOPATH) |
|||
Line 6: | Line 6: | ||
==<tt>GOPATH</tt>== | ==<tt>GOPATH</tt>== | ||
* External <tt>go help gopath</tt>. | |||
Revision as of 03:05, 22 March 2016
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.