'GoDep' is not recognized as an internal o

2019-09-20 17:53发布

I am trying to deploy my Go App on heroku, for which I am using Godep as build pack. After installing godep using the command

go get github.com/tools/godep

when I try to run

godep save

I am getting the error which states that 'godep' is not recognised as an internal or external command.

Below is my env variables.

enter image description here

Can someone please point out where I am going wrong ?

1条回答
对你真心纯属浪费
2楼-- · 2019-09-20 18:20

Setting the GOBIN value in the environment variables fixed the issue.

enter image description here

查看更多
登录 后发表回答