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

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)
posted @   Lucky小黄人^_^  阅读(731)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
· 写一个简单的SQL生成工具
点击右上角即可分享
微信分享提示