mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Revert 78c6ef494b95fc466759810d36ac40ff38d83143...9f41311e201301a491c8a55f125eeb73c102d439 on Modules
parent
9f41311e20
commit
aa0aeadf64
@ -127,7 +127,7 @@ A brief tour of other common functionality you might use:
|
|||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| ------------------------------- | ----------------------- |
|
| ------------------------------- | ----------------------- |
|
||||||
| <span style="white-space: nowrap;">`go list -m all`</span> | View final versions that will be used in a build for all direct and indirect dependencies ([details](https://github.com/golang/go/wiki/Modules#version-selection)) |
|
| <nobr>`go list -m all`</nobr> | View final versions that will be used in a build for all direct and indirect dependencies ([details](https://github.com/golang/go/wiki/Modules#version-selection)) |
|
||||||
| <nobr>`go list -u -m all`</nobr>| View available minor and patch upgrades for all direct and indirect dependencies ([details](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies)) |
|
| <nobr>`go list -u -m all`</nobr>| View available minor and patch upgrades for all direct and indirect dependencies ([details](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies)) |
|
||||||
| `go get -u` <br> <nobr>`go get -u=patch`</nobr> | Update all direct and indirect dependencies to latest minor or patch upgrades ([details](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies)) |
|
| `go get -u` <br> <nobr>`go get -u=patch`</nobr> | Update all direct and indirect dependencies to latest minor or patch upgrades ([details](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies)) |
|
||||||
| <nobr>`go build ./...`</nobr> <br> `go test ./...` | Build or test all packages in the module when run from the module root directory ([details](https://github.com/golang/go/wiki/Modules#how-to-define-a-module)) |
|
| <nobr>`go build ./...`</nobr> <br> `go test ./...` | Build or test all packages in the module when run from the module root directory ([details](https://github.com/golang/go/wiki/Modules#how-to-define-a-module)) |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user