NubeIO / lib-module-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to generate .proto

Pre-requisite

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

Command

protoc --proto_path=proto --go_out=proto --go_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:proto --go-grpc_opt=paths=source_relative proto/*.proto

About


Languages

Language:Go 100.0%