Can't get Golang to work in Ubuntu

前端 未结 4 2106
一个人的身影
一个人的身影 2021-02-06 23:38

Ok, So I\'ve downloaded Go 1.1 and put it into $HOME/Documents/go.

Then, I\'ve modified my .bashrc to be:

export GOPATH=$HOME/Documents/go           


        
4条回答
  •  青春惊慌失措
    2021-02-07 00:44

    You should not set $GOROOT for normal installations.

    Just type export GOROOT="" and it should fix your problem.

提交回复
热议问题