protoc-gen-coco: coco代码生成
.gitignore | ||
comment_parse.go | ||
error_code_generate.go | ||
go.mod | ||
go.sum | ||
main.go | ||
model_generate.go | ||
README.md | ||
router_generate.go | ||
util_test.go | ||
util.go |
protoc-gen-coco
install
go install gitter.top/coco/protoc-gen-coco@latest
usage
protoc example.proto --coco_out=. --go_out=.
debug
go install .
protoc --coco_out=. .\example_errcode.proto --go_out=.