I am attempting to add my Golang project to CircleCi for CI. However when it gets to the testing stage I get some errors. I've then tried to run 'go test' locally on my terminal in the Go project and I get the following error.
can't load package: package crypto-compare-go: found packages main (main.go) and handler (main_test.go) in /Users/pocockn/go/src/crypto-compare-go
crypto-compare-go is the name of the parent folder that holds the Go program. It is under
go > src >
On my machine.
Below is how my project is structured.
I just want to run go test and it run the tests in my project. I've also tried go test ./... but get the same problem