charlatan
charlatan copied to clipboard
Imports Incompatible with Go 1.11 Module Support
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
This appears to be the underlying issue: https://github.com/golang/go/issues/26504
Thank you, sir! Will investigate.
See also: https://github.com/golang/go/issues/27456 https://github.com/golang/go/issues/24661
It looks like go/packages
is mostly stabilized: https://github.com/golang/tools/commit/4b6ee5fb873dbd9210d5e0db7bdb0ee4f501aeaf