Go Keyword import

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

External

Internal

Overview

...
import [package-name-alias] "package-path"
...

Example

...
import "lib/math"
...

The package-name-alias is optional. If not specified, the package will be referred under the name