Go Keyword import

From NovaOrdis Knowledge Base
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