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 就没这个问题了。

其他也是编译器版本导致的报错

 uTime.UnixMilli undefined (type time.Time has no field or method UnixMilli)