Go edit


A package in Go represents a unit of related code. Other languages call them libraries.

A package consists of multiple files but they all have to be in the same directory.

You can split large packages into sub-packages.

Go standard library is provided as a set of packages.

A package is identified by import path e.g. github.com/gomarkdown/markdown is an import path of a package that parses markdown format.

Feedback about page:

Optional: your email if you want me to get back to you:

  ↑ ↓ to navigate     ↵ to select     Esc to close