Created
September 19, 2019 15:07
-
-
Save foresthoffman/9d6215fea7ca182d15162c620fce428e to your computer and use it in GitHub Desktop.
Golang Bash Aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gob='go build -o main && go vet' | |
alias got='go test -count=1 ./...' | |
# for ./src paradigm | |
alias goi='go build -o $(basename $(dirname $PWD)) && mv ./$(basename $(dirname $PWD)) $GOPATH/bin/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment