github.com/tacerus/ldifdiff@v0.0.0-20181030102753-4dccbe38183b/cmd/Gopkg.toml (about) 1 2 ## Gopkg.toml example (these lines may be deleted) 3 4 ## "metadata" defines metadata about the project that could be used by other independent 5 ## systems. The metadata defined here will be ignored by dep. 6 # [metadata] 7 # key1 = "value that convey data to other systems" 8 # system1-data = "value that is used by a system" 9 # system2-data = "value that is used by another system" 10 11 ## "required" lists a set of packages (not projects) that must be included in 12 ## Gopkg.lock. This list is merged with the set of packages imported by the current 13 ## project. Use it when your project needs a package it doesn't explicitly import - 14 ## including "main" packages. 15 # required = ["github.com/user/thing/cmd/thing"] 16 17 ## "ignored" lists a set of packages (not projects) that are ignored when 18 ## dep statically analyzes source code. Ignored packages can be in this project, 19 ## or in a dependency. 20 ignored = ["github.com/nxadm/ldifdiff"] 21 22 ## Constraints are rules for how directly imported projects 23 ## may be incorporated into the depgraph. They are respected by 24 ## dep whether coming from the Gopkg.toml of the current project or a dependency. 25 # [[constraint]] 26 ## Required: the root import path of the project being constrained. 27 # name = "github.com/user/project" 28 # 29 ## Recommended: the version constraint to enforce for the project. 30 ## Only one of "branch", "version" or "revision" can be specified. 31 # version = "1.0.0" 32 # branch = "master" 33 # revision = "abc123" 34 # 35 ## Optional: an alternate location (URL or import path) for the project's source. 36 # source = "https://github.com/myfork/package.git" 37 # 38 ## "metadata" defines metadata about the dependency or override that could be used 39 ## by other independent systems. The metadata defined here will be ignored by dep. 40 # [metadata] 41 # key1 = "value that convey data to other systems" 42 # system1-data = "value that is used by a system" 43 # system2-data = "value that is used by another system" 44 45 ## Overrides have the same structure as [[constraint]], but supersede all 46 ## [[constraint]] declarations from all projects. Only [[override]] from 47 ## the current project's are applied. 48 ## 49 ## Overrides are a sledgehammer. Use them only as a last resort. 50 # [[override]] 51 ## Required: the root import path of the project being constrained. 52 # name = "github.com/user/project" 53 # 54 ## Optional: specifying a version constraint override will cause all other 55 ## constraints on this project to be ignored; only the overridden constraint 56 ## need be satisfied. 57 ## Again, only one of "branch", "version" or "revision" can be specified. 58 # version = "1.0.0" 59 # branch = "master" 60 # revision = "abc123" 61 # 62 ## Optional: specifying an alternate source location as an override will 63 ## enforce that the alternate location is used for that project, regardless of 64 ## what source location any dependent projects specify. 65 # source = "https://github.com/myfork/package.git" 66 67 [[constraint]] 68 name = "github.com/docopt/docopt-go" 69 version = "0.6.2" 70