Skip to content

Instantly share code, notes, and snippets.

@diofeher
Last active June 30, 2020 14:00
Show Gist options
  • Save diofeher/b61fdd5b258a2ba70ca339c51b57a683 to your computer and use it in GitHub Desktop.
Save diofeher/b61fdd5b258a2ba70ca339c51b57a683 to your computer and use it in GitHub Desktop.
# Installing Go environment on MAC + Visual Studio Code + Oh my ZSH
brew install go
cat <<EOT >> $HOME/.zshrc
export GOROOT="/usr/local/Cellar/go/1.14.4/libexec/"
export GOPATH="$HOME/workspace/go"
export PATH="${PATH}:${GOPATH}:${GOPATH}/bin"
EOT
source $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment