dotfiles/zsh/.config/oh-my-zsh/custom/go.zsh

9 lines
175 B
Bash
Raw Normal View History

2017-03-30 02:47:27 +00:00
# Export $GOPATH
export GOPATH=$HOME/go
2017-03-30 02:47:27 +00:00
2018-08-25 23:12:41 +00:00
# Always use Go modules, even inside GOPATH
export GO111MODULE=on
2017-03-30 02:47:27 +00:00
# Add Go binary directory to $PATH
export PATH="$PATH:$GOPATH/bin"