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

docs/Gopkg.toml.md: fix toml example #2177

Merged
merged 1 commit into from
Jun 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
```