Documentation ¶
Overview ¶
protoc-gen-go-olive is a plugin for the Google protocol buffer compiler to generate Go code. Install it by building this program and making it accessible within your PATH with the name:
protoc-gen-go-olive
The 'go-olive' suffix becomes part of the argument for the protocol compiler, such that it can be invoked as:
protoc --go-olive_out=. path/to/file.proto
This generates Go olive service definitions for the protocol buffer defined by file.proto. With that input, the output will be written to:
path/to/file_olive.pb.go
Click to show internal directories.
Click to hide internal directories.