Go Commands - build

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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.

Building an Executable

Building an Executable