Skip to content

Instantly share code, notes, and snippets.

View fd98279's full-sized avatar

Sampat fd98279

View GitHub Profile
@fd98279
fd98279 / go_setup.sh
Last active December 6, 2018 13:13
To setup go development environment
# Based on instructions at https://golang.org/doc/code.html
# Get latest go build
wget https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz
tar -xvf go1.11.2.linux-amd64.tar.gz
sudo mv go /usr/local
# Add to ~/.bashrc and ~/.profile (requried by VSCode)
export GOROOT=/usr/local/go
# Location where all the go source code will reside
mkdir -p $HOME/Workspace/repos/go
mkdir -p $HOME/Workspace/repos/go/{src,bin}