dianping / cat

CAT 作为服务端项目基础组件,提供了 Java, C/C++, Node.js, Python, Go 等多语言客户端,已经在美团点评的基础架构中间件框架(MVC框架,RPC框架,数据库框架,缓存框架等,消息队列,配置系统等)深度集成,为美团点评各业务线提供系统丰富的性能指标、健康状况、实时告警等。
Apache License 2.0
18.72k stars 5.43k forks source link

go打包出问题 #2345

Open 2018011829 opened 2 months ago

2018011829 commented 2 months ago

GOOS=linux GOARCH=amd64 go build -o UmeApiMonitorNew

github.com/dianping/cat/lib/go/gocat

../pkg/mod/github.com/dianping/cat@v3.0.1+incompatible/lib/go/gocat/api.go:35:7: undefined: ccat.Send ../pkg/mod/github.com/dianping/cat@v3.0.1+incompatible/lib/go/gocat/api.go:89:8: undefined: ccat.LogMetricForCount ../pkg/mod/github.com/dianping/cat@v3.0.1+incompatible/lib/go/gocat/api.go:91:8: undefined: ccat.LogMetricForCount ../pkg/mod/github.com/dianping/cat@v3.0.1+incompatible/lib/go/gocat/api.go:96:7: undefined: ccat.LogMetricForDuration