Documentation ¶
Index ¶
Constants ¶
View Source
const (
// FileExtension is the file extension for the PubSub schema files.
FileExtension = "pubsub.proto"
)
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(input protoreflect.MessageDescriptor) (string, error)
Generate generates a PubSub schema in the form of a single self-contained messaged normalized to proto2 for the given message descriptor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.