29ec52602ff947675ea9a1788d62c0c552bd01af
- Author
- Muhammad Zahalqa <m@tryfinally.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
feat(golang): add `gota` to test current directory recursively (#8974)
Diff
1diff --git a/plugins/golang/README.md b/plugins/golang/README.md
2index 0a1b43c306a897a5beaabcedfc697887186fa12a..0c90aa10ba8cb3ed1151a0f4bc56b2de42842e3f 100644
3--- a/plugins/golang/README.md
4+++ b/plugins/golang/README.md
5@@ -27,4 +27,5 @@ plugins=(... golang)
6 | gops | `cd $GOPATH/src` | Takes you to $GOPATH/src |
7 | gor | `go run` | Compiles and runs your code |
8 | got | `go test` | Runs tests |
9+| gota | `go test ./...` | Runs tests in all subdirectories |
10 | gov | `go vet` | Vet examines Go source code and reports suspicious constructs |
11diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh
12index 398bd966f48eae5e90ca9aa71ab2173911b1f6e2..eedde2573ac8af604d247b5852cb0c403415ced5 100644
13--- a/plugins/golang/golang.plugin.zsh
14+++ b/plugins/golang/golang.plugin.zsh
15@@ -271,4 +271,5 @@ alias gopb='cd $GOPATH/bin'
16 alias gops='cd $GOPATH/src'
17 alias gor='go run'
18 alias got='go test'
19+alias gota='go test ./...'
20 alias gov='go vet'