io2015-codelabs
io2015-codelabs copied to clipboard
"Building a gRPC service with Node.js" CodeLab does not work
trafficstars
I tried the mentioned codelab. At step3, I Git cloned the example and installed gRPC package with "go get google.golang.org/grpc" command. However, when I try "go run client.go", this is the error I'm getting on Cloud Shell:
atameldev@codelab-grpcwithnodejs:~/io2015-codelabs/gRPC/start$ go run client.go
# _/home/atameldev/io2015-codelabs/gRPC/start/books
books/books.pb.go:252: cannot use _BookService_List_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.meth
odHandler in field value
books/books.pb.go:256: cannot use _BookService_Insert_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.me
thodHandler in field value
books/books.pb.go:260: cannot use _BookService_Get_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.metho
dHandler in field value
books/books.pb.go:264: cannot use _BookService_Delete_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.me
thodHandler in field value
atameldev@codelab-grpcwithnodejs:~/io2015-codelabs/gRPC/start$
Same thing here
Same thing here also