I have go.mod
file inside root/src/abc
. And in root/build-scripts
I have a script which does go get
. As I am using Go 1.11 I have not used the go path instead the mod file in root/src/abc
takes care of other imports except for the packages that are being used in build script which gives error:
go: cannot determine module path for source directory.
Any suggestions?