golang missing dot in first path element

golang missing dot in first path element,第1张

[root@127 MiddleServer]# go mod tidy
MiddleServer/application/admin/mergeEverdayGameUserLog imports
	github.com/yangtizi/log/zaplog imports
	gopkg.in/natefinch/lumberjack.v2 tested by
	gopkg.in/natefinch/lumberjack.v2.test imports
	github.com/BurntSushi/toml imports
	io/fs: malformed module path "io/fs": missing dot in first path element
MiddleServer/application/admin/mergeEverdayGameUserLog imports
	github.com/yangtizi/log/zaplog imports
	gopkg.in/natefinch/lumberjack.v2 tested by
	gopkg.in/natefinch/lumberjack.v2.test imports
	github.com/BurntSushi/toml tested by
	github.com/BurntSushi/toml.test imports
	testing/fstest: malformed module path "testing/fstest": missing dot in first path element
MiddleServer/application/admin/mergeEverdayGameUserLog imports
	github.com/yangtizi/log/zaplog imports
	gopkg.in/natefinch/lumberjack.v2 tested by
	gopkg.in/natefinch/lumberjack.v2.test imports
	github.com/BurntSushi/toml tested by
	github.com/BurntSushi/toml.test imports
	github.com/BurntSushi/toml-test imports
	embed: malformed module path "embed": missing dot in first path element

服务器上突然遇到了这个问题。经过检查是因为服务器的 golang 版太低(13)导致, 升级到了16一切正常!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/994694.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-21
下一篇 2022-05-21

发表评论

登录后才能评论

评论列表(0条)

保存