mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(golang): add gofx alias for go fix (#10220)
Closes #10220 Co-authored-by: Chaithanya Naik <chaithanyampcrl@gmail.com>
This commit is contained in:
parent
96e473a1d6
commit
8e7cbafb32
2 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ plugins=(... golang)
|
|||
| god | `go doc` | Prints documentation comments |
|
||||
| gof | `go fmt` | Gofmt formats (aligns and indents) Go programs. |
|
||||
| gofa | `go fmt ./...` | Run go fmt for all packages in current directory, recursively |
|
||||
| gofx | `go fix` | Update packages to use a new API |
|
||||
| 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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue