go version go1.12 and cannot find module providing package

67 views
Skip to first unread message

Tong Sun

unread,
May 30, 2019, 10:14:58 PM5/30/19
to golang-nuts
Hi, 

For this line,


I'm getting

build github.com/go-jsonfile/jsonfiddle: cannot load github.com/mkideal/cli/clis: cannot find module providing package github.com/mkideal/cli/clis

when building under go version go1.12. 
And things were fine before go1.12. 

Where the problem is? 
How to fix it? -- I've tried.


but neither works. 

Is it because how the package is defined? But that's not much different from:
but how come that package is OK? 

Thx

Bryan Mills

unread,
May 31, 2019, 8:31:30 PM5/31/19
to golang-nuts
The highest release tag on that module is v0.0.2, and that version indeed does not provide the clis package.

If you want a commit that is more recent than the latest release, you need to request that commit to 'go get' explicitly.

Reply all
Reply to author
Forward
0 new messages