mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
Merge pull request #11504 from kaffarell/fix/contributing-docs
docs: changed from 'go install' to 'go get' in contributing.md
This commit is contained in:
commit
dfa5cd55db
|
@ -64,10 +64,10 @@ To add or update a new dependency, use the `go get` command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Pick the latest tagged release.
|
# Pick the latest tagged release.
|
||||||
go install example.com/some/module/pkg@latest
|
go get example.com/some/module/pkg@latest
|
||||||
|
|
||||||
# Pick a specific version.
|
# Pick a specific version.
|
||||||
go install example.com/some/module/pkg@vX.Y.Z
|
go get example.com/some/module/pkg@vX.Y.Z
|
||||||
```
|
```
|
||||||
|
|
||||||
Tidy up the `go.mod` and `go.sum` files:
|
Tidy up the `go.mod` and `go.sum` files:
|
||||||
|
|
Loading…
Reference in a new issue