influxdb-gateway
                                
                                
                                
                                    influxdb-gateway copied to clipboard
                            
                            
                            
                        make error
我在CentOS 7上make的时候,出错了,这个我系统的版本信息: ➜ influxdb-gateway git:(master) lsb_release LSB Version: :core-4.1-amd64:core-4.1-noarch ➜ influxdb-gateway git:(master) go version go version go1.9.2 linux/amd64
下面是执行make时的日志 ➜ influxdb-gateway git:(master) ls gateway Godeps main.go Makefile readme.md ➜ influxdb-gateway git:(master) make b CGO_ENABLED=0 go build -o bin/influxdb-gateway main.go
github.com/pingliu/influxdb-gateway/gateway
../../gopath/src/github.com/pingliu/influxdb-gateway/gateway/gateway.go:56:19: cannot use g.PointsWriter (type interface { WritePoints(string, string, models.ConsistencyLevel, []models.Point) error }) as type interface { WritePointsPrivileged(string, string, models.ConsistencyLevel, []models.Point) error } in assignment: interface { WritePoints(string, string, models.ConsistencyLevel, []models.Point) error } does not implement interface { WritePointsPrivileged(string, string, models.ConsistencyLevel, []models.Point) error } (missing WritePointsPrivileged method) ../../gopath/src/github.com/pingliu/influxdb-gateway/gateway/gateway.go:58:13: cannot use g.Logger (type zap.Logger) as type *zap.Logger in assignment make: *** [b] Error 2
这个是zap对应的版本不对
那应该使用什么版本?
readme更新了,请参考readme编译。
您好,作者。我请问下,这个gateway的API是如何提供的呢,比如我写进gateway,如何写?