Golang imports failing

My local tests run perfectly when, however in the test environment, I get multiple import errors:

could not import github.com/CIP-NL/index-sink/proto (cannot find package 
"github.com/CIP-NL/index-sink/proto" in any of:
/go/src/github.com/CIP_NL/index-sink/vendor/github.com/CIP-NL/index-sink/proto 
 (vendor tree)
/usr/local/go/src/github.com/CIP-NL/index-sink/proto (from $GOROOT)
/go/src/github.com/CIP-NL/index-sink/proto (from $GOPATH)) (typecheck)
proto "github.com/CIP-NL/index-sink/proto"

Listing the directory in my Circleci container resuts in the following:

pwd: /go/src/github.com/CIP_NL/index-sink

ls:  Gopkg.lock  README.md  micro.go  sink  vendor
     Gopkg.toml  main.go    proto test.sh  viper.go

I am dealing with a repo containing multiple golang packages. All my “local” imports are formatted like this: “github.com/organisation/package

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.