'GoDep' is not recognized as an internal o

2019-09-20 17:26发布

问题:

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.

Can someone please point out where I am going wrong ?

回答1:

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