courtney icon indicating copy to clipboard operation
courtney copied to clipboard

Fails on Go1.11 beta2 with GO111MODULE=on

Open mehcode opened this issue 5 years ago • 3 comments

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.

mehcode avatar Jul 31 '18 23:07 mehcode

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

dave avatar Aug 11 '18 09:08 dave

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

KaiserKarel avatar Oct 24 '18 11:10 KaiserKarel

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

dave avatar Oct 24 '18 11:10 dave