Skip to content

Instantly share code, notes, and snippets.

@foresthoffman
Created September 19, 2019 15:07
Show Gist options
  • Save foresthoffman/9d6215fea7ca182d15162c620fce428e to your computer and use it in GitHub Desktop.
Save foresthoffman/9d6215fea7ca182d15162c620fce428e to your computer and use it in GitHub Desktop.
Golang Bash Aliases
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