zl程序教程

您现在的位置是:首页 >  其他

当前栏目

golang 报错 pkg/mod/github.com/klauspost/compress@v1.15.12/zstd/blockdec.go:17:2: //go:build comment without // +build comment

2023-04-18 15:35:34 时间

golang 报错 pkg/mod/github.com/klauspost/compress@v1.15.12/zstd/blockdec.go:17:2: //go:build comment without // +build comment

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