bold-commerce / go-shopify

Go client for the Shopify API
MIT License
328 stars 255 forks source link

gopkg.in/jarcoal/httpmock.v1: no matching versions for query "latest" #184

Closed michael-bc closed 1 year ago

michael-bc commented 2 years ago

When I try to run go mod tidy I get an error:

github.com/bold-commerce/go-shopify tested by
github.com/bold-commerce/go-shopify.test imports
gopkg.in/jarcoal/httpmock.v1: no matching versions for query "latest"

Do you have any suggestion for resolving this issue?

pure-commerce commented 2 years ago

Did you manage to get this fixed?

pure-commerce commented 2 years ago

I was able to get my program to compile by updating to the latest Go install. Go mod tidy still returns that error but atleast I can compile.

shrumm commented 2 years ago

make sure you're on the latest v3 version: go get github.com/bold-commerce/go-shopify/v3

there's a PR to update the documentation to reflect this, but it hasn't been merged yet.

whiskerside commented 1 year ago

Change the import to github.com/bold-commerce/go-shopify/v3 then run go mod tidy to resolve it.