mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
feat(golang): add gota
to test current directory recursively (#8974)
This commit is contained in:
parent
93b557e291
commit
29ec52602f
2 changed files with 2 additions and 0 deletions
|
@ -27,4 +27,5 @@ plugins=(... golang)
|
||||||
| gops | `cd $GOPATH/src` | Takes you to $GOPATH/src |
|
| gops | `cd $GOPATH/src` | Takes you to $GOPATH/src |
|
||||||
| gor | `go run` | Compiles and runs your code |
|
| gor | `go run` | Compiles and runs your code |
|
||||||
| got | `go test` | Runs tests |
|
| 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 |
|
| gov | `go vet` | Vet examines Go source code and reports suspicious constructs |
|
||||||
|
|
|
@ -271,4 +271,5 @@ alias gopb='cd $GOPATH/bin'
|
||||||
alias gops='cd $GOPATH/src'
|
alias gops='cd $GOPATH/src'
|
||||||
alias gor='go run'
|
alias gor='go run'
|
||||||
alias got='go test'
|
alias got='go test'
|
||||||
|
alias gota='go test ./...'
|
||||||
alias gov='go vet'
|
alias gov='go vet'
|
||||||
|
|
Loading…
Reference in a new issue