Open art-frela opened 6 years ago
Go
. I'd recommend 1.8.4 and above at this point.Check the version that you have with:
go version
The run go env
It shows you all the envs that are set and are not.
If you are using Linux and installed Go
with apt get
(which I would not recommend`) remove go with.
sudo apt-get remove golang-go
sudo apt-get remove --auto-remove golang-go
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
$ sudo rm -rf /usr/local/go
Go to the downloads page and download the binary release suitable for your system.
To extract the archive file:
$ sudo tar -C /usr/local -xzf /home/nikhita/Downloads/go1.8.1.linux-amd64.tar.gz
/usr/local/go/bin
$ echo $PATH | grep "/usr/local/go/bin"
Hello,
I tried to install... but error... package github.com/sqs/goreturns: remote origin not found
Where I missied? ))