mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +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 |
|
||||
|
|
|
@ -262,6 +262,7 @@ alias goc='go clean'
|
|||
alias god='go doc'
|
||||
alias gof='go fmt'
|
||||
alias gofa='go fmt ./...'
|
||||
alias gofx='go fix'
|
||||
alias gog='go get'
|
||||
alias goga='go get ./...'
|
||||
alias goi='go install'
|
||||
|
|
Loading…
Reference in a new issue