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:
Bryan Boreham 2022-11-25 16:42:40 +00:00 committed by GitHub
commit dfa5cd55db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,10 +64,10 @@ To add or update a new dependency, use the `go get` command:
```bash
# 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.
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: