dave / courtney

Courtney is a coverage tool for Go
MIT License
168 stars 27 forks source link

Fails on Go1.11 beta2 with GO111MODULE=on #11

Open mehcode opened 6 years ago

mehcode commented 6 years ago

Trying out vgo and courtney fails with errors similar to:

go: cannot find main module root; see 'go help modules'
/usr/local/go/src/os/user/lookup.go:53:9: undeclared name: lookupGroupId
FILENAME:13:7: could not import gopkg.in/volatiletech/null.v6 (cannot find package "gopkg.in/volatiletech/null.v6" in any of:
    /usr/local/go/src/gopkg.in/volatiletech/null.v6 (from $GOROOT)
    /Users/mehcode/.go/src/gopkg.in/volatiletech/null.v6 (from $GOPATH))

Really awesome tool here by the way. Been loving it.

dave commented 6 years ago

Sorry for the delay... I'll take a look at this when Go 1.11 is released.

KaiserKarel commented 6 years ago

seems to not yet work with the modules. Anywhere I can look to make that happen?

dave commented 6 years ago

I haven't had time to look at this yet... It probably needs some work to get it aware of modules. PRs welcome!