protocol

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: Apache-2.0

README

protocol

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

More to read regenerate-grpc-code.

  • Run mage to gen rpc_caller.

Generate Protocol Buffers with Mage

1、配置环境 export PATH=$PATH:/www/wwwroot/proto/bin

protoc --version 2、配置gen-go export PATH=$PATH:$(go env GOPATH)/bin

protoc-gen-go --version 3、加入代码 protoc --go_out=. --go_opt=paths=source_relative
--go-grpc_out=. --go-grpc_opt=paths=source_relative
office/office.proto

Directories

Path Synopsis
openmeeting
util

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL