Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
89596597
Unverified
Commit
89596597
authored
3 years ago
by
Chaithanya Naik
Committed by
Marc Cornellà
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(golang): add aliases for `go tool` utility (#10361)
Closes #10361
parent
8e7cbafb
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
README.md
plugins/golang/README.md
+4
-0
golang.plugin.zsh
plugins/golang/golang.plugin.zsh
+4
-0
No files found.
plugins/golang/README.md
View file @
89596597
...
...
@@ -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 |
This diff is collapsed.
Click to expand it.
plugins/golang/golang.plugin.zsh
View file @
89596597
...
...
@@ -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'
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment