pbrpc/

directory
v0.0.0-...-31fb4b0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT

README

代码生成

# 生成 serivce pb编译文件
$ protoc -I=./service/pb/ --go_out=./service/ --go_opt=module="gitee.com/go-course/rpc-g7/pbrpc/service"  hello.proto

# 生成 codec的protobuf编译文件
protoc -I=./codec/pb/ --go_out=./codec/pb/ --go_opt=module="gitee.com/go-course/rpc-g7/pbrpc/codec/pb"  header.proto

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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