Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildProtoRegistry ¶ added in v0.2.0
func BuildProtoRegistry(verbose bool, srcDir string) (*protoregistry.Files, error)
BuildProtoRegistry walks through every file in the proto folder to build up a protoregistry.Files array with every single file in here. TODO: use a user-defined filter on the paths walked to improve performance TODO: don't use protoc
func MakeDynamicMessage ¶
func MakeDynamicMessage(verbose bool, registry *protoregistry.Files, protoPackage string, msgName protoreflect.Name) (proto.Message, error)
MakeDynamicMessage creates an unhydrated proto message using the registry information
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.