I was getting started with Swarm. I am trying to install Swarm and am following the official tutorial for it. Being specific I ran the following commands:
sudo apt install golang git curl -O https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> ~/.bashrc echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc source ~/.bashrc mkdir -p $GOPATH/src/github.com/ethereum cd $GOPATH/src/github.com/ethereum git clone https://github.com/ethereum/go-ethereum cd go-ethereum git checkout master go get github.com/ethereum/go-ethereum
The last command is giving import error:
package context: unrecognized import path "context" (import path does not begin with hostname)
I am not sure what's causing the issue. Any help?