protoc-gen-gogoroach

command module
v0.0.0-...-3ba16ed Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

protoc-gen-gogoroach

protoc (protobuf compiler) plugin for CockroachDB protobuf files.

This protoc plugin is used to generate Go protobuf struct definitions compatible with CockroachDB.

Differences with the base protoc-gen-gogo plugin:

  • Go getters not generated by default, since they are usually not needed and pollute the public API of a package.
  • Generation of the additional MarshalTo, Marshal and Size methods.
  • Marshal algorithm made deterministic for reliable output in tests.
  • No generation of a XXX_unrecognized []byte member, which, while it enables a safeguard against programming mistakes, causes significant memory overhead.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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