diff options
author | Muhammad Zahalqa <m@tryfinally.com> | 2021-09-16 17:44:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 16:44:35 +0200 |
commit | 29ec52602ff947675ea9a1788d62c0c552bd01af (patch) | |
tree | b6567647bf32c2271f03cdf44091e55ffb1837cf | |
parent | 93b557e291ba60286bcd49f5d3e4ac61730b3f7c (diff) | |
download | zsh-29ec52602ff947675ea9a1788d62c0c552bd01af.tar.gz zsh-29ec52602ff947675ea9a1788d62c0c552bd01af.tar.bz2 zsh-29ec52602ff947675ea9a1788d62c0c552bd01af.zip |
feat(golang): add `gota` to test current directory recursively (#8974)
-rw-r--r-- | plugins/golang/README.md | 1 | ||||
-rw-r--r-- | plugins/golang/golang.plugin.zsh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/golang/README.md b/plugins/golang/README.md index 0a1b43c30..0c90aa10b 100644 --- a/plugins/golang/README.md +++ b/plugins/golang/README.md @@ -27,4 +27,5 @@ plugins=(... golang) | gops | `cd $GOPATH/src` | Takes you to $GOPATH/src | | gor | `go run` | Compiles and runs your code | | got | `go test` | Runs tests | +| gota | `go test ./...` | Runs tests in all subdirectories | | gov | `go vet` | Vet examines Go source code and reports suspicious constructs | diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh index 398bd966f..eedde2573 100644 --- a/plugins/golang/golang.plugin.zsh +++ b/plugins/golang/golang.plugin.zsh @@ -271,4 +271,5 @@ alias gopb='cd $GOPATH/bin' alias gops='cd $GOPATH/src' alias gor='go run' alias got='go test' +alias gota='go test ./...' alias gov='go vet' |