浏览代码

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

180909 1 年之前
父节点
当前提交
835a0a5d17
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      plugins/golang/README.md
  2. 1 0
      plugins/golang/golang.plugin.zsh

+ 1 - 0
plugins/golang/README.md

@@ -35,3 +35,4 @@ plugins=(... golang)
 | gotod  | `go tool dist`    | Utility to bootstrap, build and test go runtime               |
 | gotod  | `go tool dist`    | Utility to bootstrap, build and test go runtime               |
 | gotofx | `go tool fix`     | Fixes an application to use newer features                    |
 | gotofx | `go tool fix`     | Fixes an application to use newer features                    |
 | gov    | `go vet`          | Vet examines Go source code and reports suspicious constructs |
 | gov    | `go vet`          | Vet examines Go source code and reports suspicious constructs |
+| gow    | `go work`         | Work provides access to operations on workspaces              |

+ 1 - 0
plugins/golang/golang.plugin.zsh

@@ -32,3 +32,4 @@ alias gotoc='go tool compile'
 alias gotod='go tool dist'
 alias gotod='go tool dist'
 alias gotofx='go tool fix'
 alias gotofx='go tool fix'
 alias gov='go vet'
 alias gov='go vet'
+alias gow='go work'