mirror of
https://github.com/golang/go.git
synced 2025-05-06 08:03:03 +00:00
minor update to updating depencies to mention that 'go get' updates go.mod.
parent
927647daee
commit
8ecf2d206c
@ -115,7 +115,7 @@ To create a `go.mod` for an existing project, follow the following steps.
|
|||||||
|
|
||||||
### Updating Dependencies
|
### Updating Dependencies
|
||||||
|
|
||||||
Day-to-day adding, removing, upgrading, and downgrading of dependencies should be done using 'go get'.
|
Day-to-day adding, removing, upgrading, and downgrading of dependencies should be done using 'go get', which will automatically update the go.mod file.
|
||||||
|
|
||||||
To upgrade to the latest version for all transitive dependencies of the current module:
|
To upgrade to the latest version for all transitive dependencies of the current module:
|
||||||
* run `go get -u` to use newer minor or patch releases
|
* run `go get -u` to use newer minor or patch releases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user