835a0a5d17765243cabee782acb5905a9aab33c3

Author
180909 <wjh180909@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(golang): add `gow` alias for `go work` (#11105)

Diff

 1diff --git a/plugins/golang/README.md b/plugins/golang/README.md
 2index 979c89010dda2abfc76135b28dd58ec7522b9fe1..3b7d1e19f9718b4606c3155dea33ac318cba077b 100644
 3--- a/plugins/golang/README.md
 4+++ b/plugins/golang/README.md
 5@@ -35,3 +35,4 @@ plugins=(... golang)
 6 | gotod  | `go tool dist`    | Utility to bootstrap, build and test go runtime               |
 7 | gotofx | `go tool fix`     | Fixes an application to use newer features                    |
 8 | gov    | `go vet`          | Vet examines Go source code and reports suspicious constructs |
 9+| gow    | `go work`         | Work provides access to operations on workspaces              |
10diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh
11index 4dafecd8653d728570eb3cedc81f18e6398049eb..0dbaab0696a42fbe0bd22dcfaf9e7b987672d1e2 100644
12--- a/plugins/golang/golang.plugin.zsh
13+++ b/plugins/golang/golang.plugin.zsh
14@@ -32,3 +32,4 @@ alias gotoc='go tool compile'
15 alias gotod='go tool dist'
16 alias gotofx='go tool fix'
17 alias gov='go vet'
18+alias gow='go work'