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

Commit

Permalink
docs/Gopkg.toml.md: fix toml example
Browse files Browse the repository at this point in the history
Previously the provided Gopkg.toml is not valid. Thanks @liurui-1 for
spotting the error.

Fixes #2174.
  • Loading branch information
kevinburke committed Jun 13, 2019
1 parent 9fa5e4a commit b8cd080
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Gopkg.toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ only in the root project, i.e. the project where `dep` runs. For example, if you

# Example

A sample `Gopkg.toml` with most elements present:
Here's a sample `Gopkg.toml` with most elements present.

```toml
required = ["github.com/user/thing/cmd/thing"]
Expand All @@ -294,7 +294,7 @@ codename = "foo"
name = "github.com/user/project"
version = "1.0.0"

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

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

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

0 comments on commit b8cd080

Please sign in to comment.