Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllPaths ¶
func AllPaths[T RootPathBuilder[U], U ~[]protopath.Step](root T) []protopath.Path
Returns a list of all possible paths from the given root path builder.
func Value ¶
func Value[T RootPathBuilder[U], U ~[]protopath.Step](msg T, path protopath.Path) protoreflect.Value
Returns the value at the given path in the message. This only supports the step kinds implemented by code generated from the path builder generator.
Types ¶
Click to show internal directories.
Click to hide internal directories.