Go Get : "module declares its path as : xxxxxxx" 声明与路径不匹配 作者: 王十三 时间: 2020-08-15 分类: GoLang 直接修改go.mod 文件 replace ( github.com/golang/lint v0.0.0-20190313153728-d0100b6bd8b3 => golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 github.com/testcontainers/testcontainer-go v0.0.2 => github.com/testcontainers/testcontainers-go v0.0.2 github.com/testcontainers/testcontainers-go v0.0.2 => github.com/testcontainers/testcontainer-go v0.0.2 golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 => github.com/golang/lint v0.0.0-20190313153728-d0100b6bd8b3 ) 转换声明与路径 即可 (需要带版本号) 标签: none
评论已关闭