summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/golang/README.md1
-rw-r--r--plugins/golang/golang.plugin.zsh1
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'