Go Concepts - Runtime: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


==GOPATH==
==GOPATH==
=Compiling an Executable=
<tt>go build</tt> creates an executable only if there is a <tt>main</tt> package, and the package contains a <tt>main()</tt> function.

Revision as of 02:19, 22 March 2016

Internal

Environment Variables

GOPATH

Compiling an Executable

go build creates an executable only if there is a main package, and the package contains a main() function.