GOPATH error in windows “GOPATH entry is relative; must be absolute path: ”

前端 未结 5 1815
再見小時候
再見小時候 2020-12-15 21:10

I am new to GO and getting an error when initializing GOPATH in windows. In my project folder is

C:\\Users\\kamin\\Documents\\pm-manager

and i am try to set

5条回答
  •  醉话见心
    2020-12-15 21:37

    you can put this case uses cygwin this go path

    export GOPATH='c:\folder\folder\folder\'

    for cygwin is necessary in string 'c:\path'

    normaly you try use /cygdrive/.../...

    but for GO is not possible ( need c:\ or other drive )

提交回复
热议问题