Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1514 from darkowlzz/docs-metadata-typo
Browse files Browse the repository at this point in the history
docs: correct the metadata example in Gopkg.toml.md
  • Loading branch information
sdboyer authored Jan 10, 2018
2 parents 137e77d + 9f7fe41 commit 73e9c75
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/Gopkg.toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ They are respected by dep whether coming from the Gopkg.toml of the current proj
# Optional: an alternate location (URL or import path) for the project's source.
source = "https://github.com/myfork/package.git"

# Optional: metadata about the constraint or override that could be used by other independent systems
[metadata]
# Optional: metadata about the constraint that could be used by other independent systems
[constraint.metadata]
key1 = "value that convey data to other systems"
system1-data = "value that is used by a system"
system2-data = "value that is used by another system"
Expand All @@ -100,8 +100,8 @@ An `override` has the same structure as a `constraint` declaration, but supersed
# Optional: specifying an alternate source location as an override will enforce that the alternate location is used for that project, regardless of what source location any dependent projects specify.
source = "https://github.com/myfork/package.git"

# Optional: metadata about the constraint or override that could be used by other independent systems
[metadata]
# Optional: metadata about the override that could be used by other independent systems
[override.metadata]
key1 = "value that convey data to other systems"
system1-data = "value that is used by a system"
system2-data = "value that is used by another system"
Expand Down Expand Up @@ -156,7 +156,7 @@ codename = "foo"
name = "github.com/user/project"
version = "1.0.0"

[metadata]
[constraint.metadata]
property1 = "value1"
property2 = 10

Expand All @@ -169,6 +169,6 @@ codename = "foo"
name = "github.com/x/y"
version = "2.4.0"

[metadata]
[override.metadata]
propertyX = "valueX"
```

0 comments on commit 73e9c75

Please sign in to comment.