Follow the official docs or use your favorite dependency manager to install Go: https://golang.org/doc/install
Verify your $GOPATH
is correctly set before continuing!
Go is bit picky about where you store your repositories.
The convention is to store:
- the source code inside the
$GOPATH/src
- the compiled program binaries inside the
$GOPATH/bin
mkdir -p $GOPATH/src/github.com/web3coach
cd $GOPATH/src/github.com/web3coach
git clone https://github.com/web3coach/the-blockchain-bar.git
PS: Make sure you actually clone it inside the src/github.com/web3coach
directory, not your own, otherwise it won't compile. Go rules.