-
Notifications
You must be signed in to change notification settings - Fork 126
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
升级到go 1.13无法get #93
Comments
确实,golang 升级到1.13 后报这个错了 |
@starjiang @ZhiweiWang 目前遇到一个奇怪的问题, 版本都是按照常规的tag标记的, 但是只能识别到1.x, 不能识别到2.x, 你们有没有遇到这个问题 |
大版本需要改mod为v2 Go 项目如何升级 v2? 修改 go.mod 第一行,在module那行最后加上/v2。module github.com/mnhkahn/aaa/v2。 |
@fizzday 试了一下用mod upgrade确实可行 |
@ZhiweiWang 确实可以, 我修正下, 多谢指教 |
之前go 1.12可以正常用v1.0.5,现在go升级到1.13
执行:
go get -u github.com/gohouse/gorose@v2.0.5
出错:
go get github.com/gohouse/gorose@v2.0.5: github.com/gohouse/gorose@v2.0.5: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
The text was updated successfully, but these errors were encountered: