Go Commands - build: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 18: | Line 18: | ||
where the <tt><package-path-string-literal></tt> is the same literal used by the <tt>[[Go Keyword import|import]]<tt> statement. | where the <tt><package-path-string-literal></tt> is the same literal used by the <tt>[[Go Keyword import|import]]<tt> statement. | ||
=Building an Executable= | =Building an Executable= |
Revision as of 06:31, 4 April 2016
Internal
Overview
go build
builds the current package.
A specific package can be also built:
go build <package-path-string-literal>
where the <package-path-string-literal> is the same literal used by the import statement.