charlatan icon indicating copy to clipboard operation
charlatan copied to clipboard

Imports Incompatible with Go 1.11 Module Support

Open solumos opened this issue 6 years ago • 4 comments

charlatan: cannot find package "gopkg.in/olivere/elastic.v5" in any of:
        /usr/local/Cellar/go/1.10.1/libexec/src/gopkg.in/olivere/elastic.v5 (from $GOROOT)
        /Users/tmh/go/src/gopkg.in/olivere/elastic.v5 (from $GOPATH)
service.go:49: running "charlatan": exit status 1

cc @alan-mcnaney

related: https://github.com/go-swagger/go-swagger/issues/1681

solumos avatar Sep 18 '18 21:09 solumos

This appears to be the underlying issue: https://github.com/golang/go/issues/26504

solumos avatar Sep 19 '18 17:09 solumos

Thank you, sir! Will investigate.

alan-mcnaney avatar Sep 19 '18 17:09 alan-mcnaney

See also: https://github.com/golang/go/issues/27456 https://github.com/golang/go/issues/24661

solumos avatar Sep 25 '18 16:09 solumos

It looks like go/packages is mostly stabilized: https://github.com/golang/tools/commit/4b6ee5fb873dbd9210d5e0db7bdb0ee4f501aeaf

solumos avatar Nov 02 '18 18:11 solumos