golang 报错 pkg/mod/github.com/klauspost/[email protected]/zstd/blockdec.go:17:2: //go:build comment w...

golang 报错 pkg/mod/github.com/klauspost/[email protected]/zstd/blockdec.go:17:2: //go:build comment without // +build comment

这个问题一般是需要升级 golang 的版本,比如我在 go1.16 编译运行时会有这个问题,升级到 go1.18 就没这个问题了。

猜你喜欢

转载自blog.csdn.net/qq_41767116/article/details/129544009