I am trying to do a go get:
go get github.com/go-sql-driver/mysql
and it fails with the following error:
packa
If you've setup anything that needs modification of environment variables e.g. Java, Go etc this will be very familiar.
I will assume that you have the following directory structure somewhere as your Go path:
\---[folder name]
+---bin
+---pkg
\---src
sudo nano /etc/environmentPATH=... and go the end of it and add a colon : after the last path then paste in your full go path e.g. /home/user/gocodeand you're done, This should make it persistent through the system.