cannot download, $GOPATH not set

前端 未结 15 2156
闹比i
闹比i 2020-11-29 17:00

I want to install json2csv using go get github.com/jehiah/json2csv but I receive this error:

package github.com/jehiah/json2csv: cannot download         


        
15条回答
  •  死守一世寂寞
    2020-11-29 17:55

    Run 'go env' and see where your GOPATH is currently pointing towards. If you change to that directory, your 'go get..etc' command should work.

提交回复
热议问题