Обновления 20.09.2021
This commit is contained in:
@@ -19,6 +19,7 @@ plugins=(... golang)
|
||||
| gof | `go fmt` | Gofmt formats (aligns and indents) Go programs. |
|
||||
| gofa | `go fmt ./...` | Run go fmt for all packages in current directory, recursively |
|
||||
| gog | `go get` | Downloads packages and then installs them to $GOPATH |
|
||||
| gog | `go get ./...` | Installs all dependencies in current directory, recursively |
|
||||
| goi | `go install` | Compiles and installs packages to $GOPATH |
|
||||
| gol | `go list` | Lists Go packages |
|
||||
| gom | `go mod` | Access to operations on modules |
|
||||
@@ -27,4 +28,5 @@ plugins=(... golang)
|
||||
| gops | `cd $GOPATH/src` | Takes you to $GOPATH/src |
|
||||
| gor | `go run` | Compiles and runs your code |
|
||||
| got | `go test` | Runs tests |
|
||||
| gota | `go test ./...` | Runs tests in all subdirectories |
|
||||
| gov | `go vet` | Vet examines Go source code and reports suspicious constructs |
|
||||
|
||||
Reference in New Issue
Block a user