You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shell: GOARCH=amd64 go build -o bin/hawk-grpc -ldflags "-s -w".
Error:
package command-line-arguments
imports hawk-rpc-go/config/viper
imports hawk-rpc-go/config/qconf: build constraints exclude all Go files in /Users/kanghuixin/go/src/hawk-rpc-go/config/qconf
获取Qconf配置加载到
viper
组件内.hawk-rpc-go/config/qconf/index.go
与driver/go/src/infra/go_qconf/go_qconf.go
内容一致, 拷贝过来.请查找下问题, 为啥忽略呢?
找到问题:
cgo
编译参数, 文件go_qconf.go
import "C" 部分有注释说明, 添加-L qconf -L m
参数下面有追加镜像编译打包汇总.
The text was updated successfully, but these errors were encountered: