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
4bd5d03e
Unverified
Commit
4bd5d03e
authored
Apr 22, 2019
by
Tristan Messner
Committed by
Marc Cornellà
Sep 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(golang): add `goga` alias to install dependencies in current directory, recursively (#7786)
Closes #7786
parent
29ec5260
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
README.md
plugins/golang/README.md
+1
-0
golang.plugin.zsh
plugins/golang/golang.plugin.zsh
+1
-0
No files found.
plugins/golang/README.md
View file @
4bd5d03e
...
...
@@ -19,6 +19,7 @@ plugins=(... golang)
| gof |
`go fmt`
| Gofmt formats (aligns and indents) Go programs. |
| gofa |
`go fmt ./...`
| Run go fmt for all packages in current directory, recursively |
| gog |
`go get`
| Downloads packages and then installs them to $GOPATH |
| gog |
`go get ./...`
| Installs all dependencies in current directory, recursively |
| goi |
`go install`
| Compiles and installs packages to $GOPATH |
| gol |
`go list`
| Lists Go packages |
| gom |
`go mod`
| Access to operations on modules |
...
...
plugins/golang/golang.plugin.zsh
View file @
4bd5d03e
...
...
@@ -263,6 +263,7 @@ alias god='go doc'
alias
gof
=
'go fmt'
alias
gofa
=
'go fmt ./...'
alias
gog
=
'go get'
alias
goga
=
'go get ./...'
alias
goi
=
'go install'
alias
gol
=
'go list'
alias
gom
=
'go mod'
...
...
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