grpc-restful icon indicating copy to clipboard operation
grpc-restful copied to clipboard

是版本问题吗?

Open epiphyllum opened this issue 2 years ago • 1 comments

(ftpman) hary@gardenia:~/tmp/grpc-restful$ goctl env check -v [goctl-env]: preparing to check env

[goctl-env]: looking up "protoc" [goctl-env]: "protoc" is installed

[goctl-env]: looking up "protoc-gen-go" [goctl-env]: "protoc-gen-go" is installed

[goctl-env]: looking up "protoc-gen-go-grpc" [goctl-env]: "protoc-gen-go-grpc" is installed

[goctl-env]: congratulations! your goctl environment is ready!

(ftpman) hary@gardenia:~/tmp/grpc-restful$ protoc --include_imports --proto_path=. --descriptor_set_out=sum.pb sum.proto google/protobuf/descriptor.proto: File not found. google/api/annotations.proto:20:1: Import "google/protobuf/descriptor.proto" was not found or had errors. google/api/annotations.proto:24:8: "google.protobuf.MethodOptions" is not defined. sum.proto:6:1: Import "google/api/annotations.proto" was not found or had errors.

直接clone下来, 按公众号里文章, 这里过不去。

epiphyllum avatar May 19 '23 03:05 epiphyllum

#3 看下是不是一样的问题

z91300 avatar Jun 16 '23 10:06 z91300