Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: unexpected directory layout while building project #33752
Can you please help me on where i am going wrong here.
go version go1.10.4 linux/amd64
Since you are using Go 1.10, you need to do everything according to the GOPATH. First of all, you have an incorrect GOPATH setting. There is no need to append
Please see this answer - https://stackoverflow.com/questions/45428744/golang-unexpected-directory-layout.
I will go ahead and close this since this is not a bug. If this still does not solve your issue please feel free to ask it in any of these forums below:
@agnivade Its working fine if i pull the dependency using "go get" but as soon as i move to godep to resolve dependency it pulls everything in vendor folder but while building my project it shows " unexpected directory layout" . Not sure where i went wrong.