Skip to content

Instantly share code, notes, and snippets.

@ykyuen
Last active January 22, 2018 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ykyuen/95e82d507da874a32ec674a3661cccab to your computer and use it in GitHub Desktop.
Save ykyuen/95e82d507da874a32ec674a3661cccab to your computer and use it in GitHub Desktop.
manage-go-dependencies-using-dep-02
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
[[constraint]]
#branch = "master"
name = "github.com/dustin/go-humanize"
revision = "0b19b17f90333e44518aa31bbf8126017960aee3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment