protopath

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package protpath contains functions to populate proto messages with field paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PopulateFieldFromPath

func PopulateFieldFromPath(msg proto.Message, fieldPathString string, value string) error

PopulateFieldFromPath sets a value in a nested Protobuf structure.

func PopulateFieldValueFromPath

func PopulateFieldValueFromPath(msgValue protoreflect.Message, fieldPath dotpath.Instance, values []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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