go-ego / riot

Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.
Apache License 2.0
6.11k stars 473 forks source link

github.com/go-ego/riot/net/grpc does not build #64

Closed h8liu closed 5 years ago

h8liu commented 5 years ago
# github.com/go-ego/riot/net/grpc
src/github.com/go-ego/riot/net/grpc/etcd.go:66:2: undefined: doc.RegisterGreeterServer
src/github.com/go-ego/riot/net/grpc/grpc.go:147:2: undefined: doc.RegisterGreeterServer
src/github.com/go-ego/riot/net/grpc/grpcc.go:52:7: undefined: doc.NewGreeterClient
src/github.com/go-ego/riot/net/grpc/grpcc.go:78:7: undefined: doc.NewGreeterClient
src/github.com/go-ego/riot/net/grpc/grpcc.go:123:7: undefined: doc.NewGreeterClient
# github.com/go-ego/riot/net/heartb
src/github.com/go-ego/riot/net/heartb/heart.go:55:7: undefined: doc.NewGreeterClient
src/github.com/go-ego/riot/net/heartb/heart.go:75:14: undefined: doc.GreeterClient

the updated protobuf generated file does not have the service stubs generated.

see https://smallrepo.com/builds/20180801-180048-dfe5992b for build log

vcaesar commented 5 years ago

I updated it with the golang build tool, it should be that I updated the gogo tool to cause a build error.

h8liu commented 5 years ago

fixed now. thanks.