protoc-gen-go-protoconfig

command module
v0.0.0-...-665bf02 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

protoc-gen-go-protoconfig

This tool generates Go language bindings of configurations in protobuf definition files for ProtoConfig. For usage information, please see our quick start guide.

Credits

This binary is highly inspired by https://github.com/grpc/grpc-go/tree/8f3cc6cc26958590a64f12d80fb48f601204b63f/cmd/protoc-gen-go-grpc, kudos to gRPC Team!

Documentation

Overview

protoc-gen-go-protoconfig 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-protoconfig

The 'go-protoconfig' suffix becomes part of the argument for the protocol compiler, such that it can be invoked as:

protoc --go-protoconfig_out=. path/to/file.proto

This generates Go configuration definitions for the protocol buffer defined by file.proto. With that input, the output will be written to path/to/file_protoconfig.pb.go

Jump to

Keyboard shortcuts

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