Installing Go-lang : $GOPATH not set -Setting env variables

Posted by

How to Set env variable $GOPATH to use Go language in Ubuntu.

Installing Go-lang in Ubuntu

Setting Up Environment Variables.

Open .bashrc file under your user’s home directory. (/home/user/.bashrc)

add the following lines  (* You can use your own custom path)

or in terminal just type the same commands.

That’s all, you are all set to Go with Go.




Leave a Reply

Your email address will not be published. Required fields are marked *