home/vantage/damlprojects/loaner_car/node_modules/google-protobuf/google-protobuf.js:338:80)
at proto.com.digitalasset.ledger.api.v1/grpc/generated/com/digitalasset/ledger/api/v
遵循上的文档,我发现自己陷入了生成grpc网关的第四步。也就是说,当添加以下一行时,事情就会分崩离析:文档中写着You will need to provide the requiredthird party protobuf files to the protoc compiler --但实际上并不是这样做的。如何将google/api/annot
我在运行osxDarwin 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64$ brew install protobuflibprotoc3.19.4$ protoc -I prot
使用正式的golang停靠映像,我可以使用protoc命令生成x.pb.go和x_grpc.pb.go文件。问题在于它使用的是最新版本,而我希望生成那些使用go.mod文件中的任何版本的版本。我尝试从golang映像开始,然后获取我的项目的go.mod文件,获取依赖项并尝试从那里生成。RUN go mod download
RUN mkdir /api<