FineKe/Generate-ProtoBuf

Don't work

Opened this issue · 1 comments

0x457 commented
syntax = "proto3";

option go_package = "bitbucket/go-code/grpcstub/demo1/helloworld";

package helloworld;

import "github.com/golang/protobuf/ptypes/any/any.proto";

message HelloWorldRequest {
    string greeting = 1;
    map<string, string> infos  = 2;
}

message HelloWorldResponse {
    string reply = 1;
    repeated google.protobuf.Any details = 2;
}

service HelloWorldService {
    rpc SayHelloWorld(HelloWorldRequest) returns (HelloWorldResponse){}
}

message HelloWorld {
    string msg = 1;
}

message Error {
    repeated string msg = 1;
}

image

the protoc is not added to the path