diff options
author | CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> | 2021-09-24 23:08:38 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-12-26 20:20:14 +0100 |
commit | 8e7cbafb3249993ff152f456ceff60723917755b (patch) | |
tree | aa9f7b333496c2bdabb72b9e4a658c8bc5e7e4a3 /plugins/golang | |
parent | 96e473a1d65cf3a093be2c742eea427706f18c01 (diff) | |
download | zsh-8e7cbafb3249993ff152f456ceff60723917755b.tar.gz zsh-8e7cbafb3249993ff152f456ceff60723917755b.tar.bz2 zsh-8e7cbafb3249993ff152f456ceff60723917755b.zip |
feat(golang): add `gofx` alias for `go fix` (#10220)
Closes #10220
Co-authored-by: Chaithanya Naik <chaithanyampcrl@gmail.com>
Diffstat (limited to 'plugins/golang')
-rw-r--r-- | plugins/golang/README.md | 1 | ||||
-rw-r--r-- | plugins/golang/golang.plugin.zsh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/golang/README.md b/plugins/golang/README.md index af2c4dff9..1dc9b080b 100644 --- a/plugins/golang/README.md +++ b/plugins/golang/README.md @@ -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 | diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh index fce663fd6..05196acc0 100644 --- a/plugins/golang/golang.plugin.zsh +++ b/plugins/golang/golang.plugin.zsh @@ -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' |