$ go get github.com/WI2L/jsondiff@v0.3.0
代码中
"github.com/WI2L/jsondiff"
报错
go: github.com/WI2L/jsondiff@v0.3.0: parsing go.mod:
module declares its path as: github.com/wI2L/jsondiff
but was required as: github.com/WI2L/jsondiff
模块将其路径声明为:
但被要求:
唉 就是w写成W了
"github.com/wI2L/jsondiff"
在尝试导入github.com/WI2L/jsondiff模块时遇到错误,问题在于模块声明路径中的小写字母'w'与import语句中的大写字母'W'不一致。解决此问题需要确保导入路径与模块实际定义的路径匹配,即更正为全小写'github.com/wi2l/jsondiff'。
855

被折叠的 条评论
为什么被折叠?



