-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not use go mod with v4.1.0 #121
Comments
The whole area of Go modules when the tagged version is already greater than 2.0.0 seems problematic. See for example golang/go#25967 (comment) , golang/go#34217 or golang/go#31543 In particular, it seems that adding the new module capabilities are now considered a breaking change because of changes to the import path and would therefore require a new major number for this repository. I think the best thing to do right now is ignore the module option until
|
I can not ignore module, but I have found workaround. go get github.com/ibm-messaging/mq-golang/ibmmq@19b946c After that in in .mod file appeared For now that is works well for me. |
I have a problem use go mod with v4.1.0.
First I try go mod tidy.
But got only v3.0.0
go: extracting github.com/ibm-messaging/mq-golang v3.0.0+incompatible
Then I edit go mod an replace
github.com/ibm-messaging/mq-golang v3.0.0+incompatible
to
github.com/ibm-messaging/mq-golang/v4 v4.1.0+incompatible
And try go mod tidy again
I got an error
go: github.com/ibm-messaging/mq-golang/[email protected]+incompatible: go.mod has non-.../v4 module path "github.com/ibm-messaging/mq-golang" (and .../v4/go.mod does not exist) at revision v4.1.0
The text was updated successfully, but these errors were encountered: