chimojiacai / grafana-wecaht-alert

grafana 企业微信 报警系统
14 stars 9 forks source link

出错 #1

Closed awaiter closed 3 years ago

awaiter commented 3 years ago

[root@test-gitlab-runner grafana-wecaht-alert]# go build main.go -o wechat-alert can't load package: named files must be .go files: -o

chimojiacai commented 3 years ago

打包命令的问题: 改为:go build -o wechat-alert main.go 前提go mod 已经下载了依赖 下载命令行: go mod tidy