Closed www6223166 closed 5 years ago
go/src/github.com/shell909090/influx-proxy/monitor/metric.go:6:2: cannot find package "github.com/influxdata/influxdb/client/v2" in any of: /local/gohome/go/src/github.com/influxdata/influxdb/client/v2 (from $GOROOT) /root/go/src/github.com/influxdata/influxdb/client/v2 (from $GOPATH) go/src/github.com/shell909090/influx-proxy/service/main.go:16:2: cannot find package "gopkg.in/natefinch/lumberjack.v2" in any of: /local/gohome/go/src/gopkg.in/natefinch/lumberjack.v2 (from $GOROOT) /root/go/src/gopkg.in/natefinch/lumberjack.v2 (from $GOPATH) go/src/github.com/shell909090/influx-proxy/backend/config.go:14:2: cannot find package "gopkg.in/redis.v5" in any of: /local/gohome/go/src/gopkg.in/redis.v5 (from $GOROOT) /root/go/src/gopkg.in/redis.v5 (from $GOPATH) 从另一个issues中看到,是因为缺少依赖,可是本人对go不熟悉,不知道如何添加依赖,项目着急用,请指教一二,万分感激
go/src/github.com/shell909090/influx-proxy/monitor/metric.go:6:2: cannot find package "github.com/influxdata/influxdb/client/v2" in any of: /local/gohome/go/src/github.com/influxdata/influxdb/client/v2 (from $GOROOT) /root/go/src/github.com/influxdata/influxdb/client/v2 (from $GOPATH) go/src/github.com/shell909090/influx-proxy/service/main.go:16:2: cannot find package "gopkg.in/natefinch/lumberjack.v2" in any of: /local/gohome/go/src/gopkg.in/natefinch/lumberjack.v2 (from $GOROOT) /root/go/src/gopkg.in/natefinch/lumberjack.v2 (from $GOPATH) go/src/github.com/shell909090/influx-proxy/backend/config.go:14:2: cannot find package "gopkg.in/redis.v5" in any of: /local/gohome/go/src/gopkg.in/redis.v5 (from $GOROOT) /root/go/src/gopkg.in/redis.v5 (from $GOPATH) 从另一个issues中看到,是因为缺少依赖,可是本人对go不熟悉,不知道如何添加依赖,项目着急用,请指教一二,万分感激