Firoz Mohammed M I
Aug 31, 2018 · 1 min read

I got error when importing packages from the same project.

cannot find package “bitbucket.org/…/conf” in any of:
/go/src/app/vendor/bitbucket.org/…/conf (vendor tree)
/usr/local/go/src/bitbucket.org/…/src/conf (from $GOROOT)
/go/src/bitbucket.org/…/conf (from $GOPATH)

I fixed it by changing working directory from “/go/src/app” to the actual project path in the host system.

Is there anything else i could have done?