[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一切正常!

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐