go-mutesting icon indicating copy to clipboard operation
go-mutesting copied to clipboard

Problem with go get command

Open Guilhermeslucas opened this issue 5 years ago • 4 comments

Everytime I try to run the command go get -t -v github.com/zimmski/go-mutesting/... I get the following error :

go get github.com/zimmski/go-mutesting/...: no matching versions for query "latest"

it looks like is something related to this issue, but I was not able to make it work. It looks like is something related to the ... at the end of the command. Any ideas? Thanks a lot!

Guilhermeslucas avatar Apr 16 '19 04:04 Guilhermeslucas

@Guilhermeslucas are you by chance running in Module mode (i.e., GO111MODULE=on or outside of your GOPATH?)

It doesn't look like go-mutesting supports modules, yet.

mccurdyc avatar Jul 25 '19 11:07 mccurdyc

@Guilhermeslucas Do you mind pasting the results of running go env as that may be helpful in diagnosing the issue.

mccurdyc avatar Jul 25 '19 11:07 mccurdyc

I had the same problem. Unsetting GO111MODULE fixed the issue and I was able to pull.

Clete2 avatar May 20 '20 12:05 Clete2

https://github.com/zimmski/go-mutesting/pull/77 will solve testing for modules.

Clete2 avatar May 20 '20 13:05 Clete2