Skip to content

Instantly share code, notes, and snippets.

@diamondap
Created January 13, 2015 19:32
Show Gist options
  • Save diamondap/c769299c35245e4a10b4 to your computer and use it in GitHub Desktop.
Save diamondap/c769299c35245e4a10b4 to your computer and use it in GitHub Desktop.
Notes for Go setup
curl "https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz" > go1.4.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.4.linux-amd64.tar.gz
rm go1.4.linux-amd64.tar.gz
rm -rf go1.4.linux-amd64
curl "https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.0.linux-amd64.go1.3.3.tar.gz" > nsq-0.3.0.linux-amd64.go1.3.3.tar.gz
tar -xzf nsq-0.3.0.linux-amd64.go1.3.3.tar.gz
cd nsq-0.3.0.linux-amd64.go1.3.3/bin
cp * ~/go/bin
rm nsq-0.3.0.linux-amd64.go1.3.3.tar.gz
rm -rf nsq-0.3.0.linux-amd64.go1.3.3/
# For emacs golang-mode
go get code.google.com/p/rog-go/exp/cmd/godef
go get github.com/crowdmob/goamz/aws
go get github.com/crowdmob/goamz/s3
go get github.com/nu7hatch/gouuid
go get github.com/rakyll/magicmime
go get github.com/APTrust/bagins
go get github.com/pote/gpm
cd ~/go/src/github.com/pote/gpm
./configure
sudo make install
go get github.com/bitly/nsq/...
go get github.com/APTrust/bagins
cd ~/go/src/github.com/APTrust/
[email protected]:APTrust/bagman.git
cd bagman
git checkout develop
./scripts/build.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment