Go Operations TO DELETE
Jump to navigation
Jump to search
Internal
Subjects
Remote Imports
Sharing Code
From "Go in Action" - to clarify: The package should live at the root of the repository. When you're using go get, you specify the full path to the package that should be imported. This means that when you create a repository that you intend to share, the package name should be the repository name, and the package's source should be in the root of the repository's directory structure. A common mistake that new Go developers make is to create a code or src directory in their public repository. Doing so will make the package's public import longer. Instead, just put the package source files at the root of the public repository. Page 72.
Dependency Management
- godep by Keith Rarick
- vendor by Daniel Theophanes
- gopkg.in Gustavo Niemeyer