You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A package that has opted in to modules must include the major version in the import path to import any v2+ modules.
To preserve import compatibility, the go command requires that modules with major version v2 or later use a module path with that major version as the final element.
For example, version v2.0.0 of example.com/m must instead use module path example.com/m/v2.
复现步骤
尝试用go get下载coze-discord-proxy时出错
root@iZj6c5flh0q5ax3d1ttfuhZ:~/temp/go-collectd# go get github.com/deanxv/coze-discord-proxy@v4.6.2
go: github.com/deanxv/coze-discord-proxy@v4.6.2: invalid version: module contains a go.mod file, so module path must match major version ("github.com/deanxv/coze-discord-proxy/v4")
预期结果
能够正常下载 相关截图
解决措施
修改module path以遵循Go Modules规范(推荐)
The text was updated successfully, but these errors were encountered:
温馨提示: 未
star
项目会被自动关闭issue哦!例行检查
问题描述
现在coze-discord-proxy使用go modules并且最新的release version是v4.6.2,但设置的module path是'
coze-discord-proxy
',而按官方规则应该设置为'github.com/deanxv/coze-discord-proxy/v4
', 可以看官方文档复现步骤
尝试用go get下载coze-discord-proxy时出错
预期结果
能够正常下载
相关截图
解决措施
修改module path以遵循Go Modules规范(推荐)
The text was updated successfully, but these errors were encountered: