我是靠谱客的博主 友好可乐,最近开发中收集的这篇文章主要介绍golang “ module declares its path as but was required “,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

$ 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"

最后

以上就是友好可乐为你收集整理的golang “ module declares its path as but was required “的全部内容,希望文章能够帮你解决golang “ module declares its path as but was required “所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(51)

评论列表共有 0 条评论

立即
投稿
返回
顶部