From 835a0a5d17765243cabee782acb5905a9aab33c3 Mon Sep 17 00:00:00 2001
From: 180909 <wjh180909@gmail.com>
Date: Wed, 10 Aug 2022 22:18:59 +0800
Subject: [PATCH] feat(golang): add `gow` alias for `go work` (#11105)

---
 plugins/golang/README.md         | 1 +
 plugins/golang/golang.plugin.zsh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/plugins/golang/README.md b/plugins/golang/README.md
index 979c89010..3b7d1e19f 100644
--- a/plugins/golang/README.md
+++ b/plugins/golang/README.md
@@ -35,3 +35,4 @@ plugins=(... golang)
 | gotod  | `go tool dist`    | Utility to bootstrap, build and test go runtime               |
 | gotofx | `go tool fix`     | Fixes an application to use newer features                    |
 | gov    | `go vet`          | Vet examines Go source code and reports suspicious constructs |
+| gow    | `go work`         | Work provides access to operations on workspaces              |
diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh
index 4dafecd86..0dbaab069 100644
--- a/plugins/golang/golang.plugin.zsh
+++ b/plugins/golang/golang.plugin.zsh
@@ -32,3 +32,4 @@ alias gotoc='go tool compile'
 alias gotod='go tool dist'
 alias gotofx='go tool fix'
 alias gov='go vet'
+alias gow='go work'
-- 
2.21.0