Problems:
Decentralised version management
No explicit concept of versions
go get always pulls from the HEAD of the default branch in the repository
Development vs Production environment
Solutions:
gopkg.in
godep
govendor
GO15VENDOREXPERIMENT=1
2. Problems
Decentralized version management
No explicit concept of versions
go get always pulls from the HEAD of the default branch in the
repository
Development vs Production environment
3. Package manager
Adhere to the stable HEAD philosophy.
Default branch must always be the stable, released version of your
package.
New major versions of your package must have their own repository.
Industry standard is to use tags and branches for marking multiple
versions.
4. gopkg.in
Provides versioned URLs
Handles git branches and tags for versioning
Encourages the adoption of stable versioned package APIs.
E.g.:
http://gopkg.in/linkosmos/tokeq.v0