feat(golang): add alias for go mod tidy (#12473)

This commit is contained in:
K.B.Dharun Krishna
2024-06-04 19:27:08 +05:30
committed by GitHub
parent de2e3d9cd3
commit efdfe2f29a
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ plugins=(... golang)
| goi | `go install` | Compiles and installs packages to $GOPATH |
| gol | `go list` | Lists Go packages |
| gom | `go mod` | Access to operations on modules |
| gomt | `go mod tidy` | Tidies up the go.mod file |
| gopa | `cd $GOPATH` | Takes you to `$GOPATH` |
| gopb | `cd $GOPATH/bin` | Takes you to `$GOPATH/bin` |
| gops | `cd $GOPATH/src` | Takes you to `$GOPATH/src` |