Hi Jacques,
Thanks for trying that. I found out that I was on a wild goose chase. As it
turns out, it was code that my TestMain
called which had a hard-coded reference looking for the GOPATH.
Cheers,
Chris
On Wednesday, August 21, 2019 at 5:43:51 AM UTC+10, Jacques Supcik wrote:
>
> Hello Chris,
It could fail if you're under $GOPATH and GO111MODULE=auto, since inside
the GOPATH, auto=off
-- Marcin
On Tue, Aug 20, 2019 at 12:43 PM Jacques Supcik wrote:
> Hello Chris,
>
> I made a small project with the same structure as yours to reproduce the
> problem : https://github.com/supcik/rtppw
Hello Chris,
I made a small project with the same structure as yours to reproduce the
problem : https://github.com/supcik/rtppwgm
But in my project, everything works as expected :
» go test -count=1 ./...
ok demo/pkg1 0.006s
ok demo/pkg2 0.006s
» go test -count=1 ./pkg1/.