Skip to content

Instantly share code, notes, and snippets.

@old-repo-ekoteguh
Last active February 22, 2018 08:57
Show Gist options
  • Save old-repo-ekoteguh/87266b0f0700a67cd35734a1ee0237f3 to your computer and use it in GitHub Desktop.
Save old-repo-ekoteguh/87266b0f0700a67cd35734a1ee0237f3 to your computer and use it in GitHub Desktop.
Installing Go
tks @BrianBland ,
actually I did this:
cd $HOME/Library/Caches/Homebrew
tar xf delve-*.gz
go into directory ( mine is delve-1.0.0-rc.1 )
sh scripts/gencert.sh
it will asks for password, and you're done.
After that just re run brew install go-delve/delve/delve
and it will pass without problems
run this before brew install go-delve/delve/delve work for me
#!/usr/bin/env sh
# As of 20130519, go 1.1 has been released.
# The proccess of the gist should be OK for go 1.1 .
echo "add lines to .bashrc or .zshrc first"
brew update && brew upgrade
brew install go
brew install git
brew install mercurial
mkdir $HOME/go
mkdir -p $GOPATH/src/github.com/user
echo "installation done."
echo "export GOPATH=$HOME/go"
go get code.google.com/p/go-tour/gotour
gotour
# for golang
# mkdir $HOME/go
# mkdir -p $GOPATH/src/github.com/user
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment