764fa7111da7d2a4919126b43d79cad4d085a88b
protoc-gen-micro
protobuf plugin to generate helper code for micro framework
A generic code/script/data generator based on Protobuf.
This project is a generator plugin for the Google Protocol Buffers compiler (protoc).
Usage
$> protoc --micro_out=debug=true,components="micro|http":. input.proto
| Option | Default Value | Accepted Values | Description |
|---|---|---|---|
debug |
false | true or false |
if true, protoc will generate a more verbose output |
components |
micro |
`micro | rpc |
Install
- Install the go compiler and tools from https://golang.org/doc/install
- Install protoc-gen-go:
go get google.golang.org/protobuf/cmd/protoc-gen-go - Install protoc-gen-micro:
go get github.com/unistack-org/protoc-gen-micro
v4.0.15
Latest
Languages
Go
100%