mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
parent
8e7cbafb32
commit
89596597e9
2 changed files with 8 additions and 0 deletions
|
@ -30,4 +30,8 @@ plugins=(... golang)
|
|||
| gor | `go run` | Compiles and runs your code |
|
||||
| got | `go test` | Runs tests |
|
||||
| gota | `go test ./...` | Runs tests in all subdirectories |
|
||||
| goto | `go tool` | Prints all the available tools |
|
||||
| gotoc | `go tool compile` | Generates object file |
|
||||
| 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 |
|
||||
|
|
|
@ -274,4 +274,8 @@ alias gops='cd $GOPATH/src'
|
|||
alias gor='go run'
|
||||
alias got='go test'
|
||||
alias gota='go test ./...'
|
||||
alias goto='go tool'
|
||||
alias gotoc='go tool compile'
|
||||
alias gotod='go tool dist'
|
||||
alias gotofx='go tool fix'
|
||||
alias gov='go vet'
|
||||
|
|
Loading…
Reference in a new issue