GO-GET(1) | General Commands Manual | GO-GET(1) |
go - tool for managing Go source code
go get [-a] [-d] [-fix] [-n] [-p n] [-u] [-v] [-x] [ packages ]
Get downloads and installs the packages named by the import paths, along with their dependencies.
When checking out or updating a package, get looks for a branch or tag that matches the locally installed version of Go. The most important rule is that if the local installation is running version "go1", get searches for a branch or tag named "go1". If no such version exists it retrieves the most recent version of the package.
For more about specifying packages, see go-packages(7).
For more about how 'go get' finds source code to download, see go-remote(7).
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others).
2012-06-15 |