Not in any GOPATH while using dep init

Viewed 9787

I'm trying to use godep to install my dependencies but I can't seem to get it to work. When I run GODEP init, I get the following error

determineProjectRoot: /home/cjds/development/core/data-service not in any $GOPATH

But my GOPATH definitely contains that path. This is my whole go path

/home/cjds/development/core/data-service

go install causes the following error, which may be the root of the problem:

no buildable Go source files in /home/cjds/development/core/data-service

The folder structure however has a src folder, and then a main folder and then my whole Go project

-/home/cjds/development/core/data-service/src/main/my-go-files.go

1 Answers
Related