oneof

package
v0.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FieldNotFoundError = xerrors.New("Can't find field")

Functions

func SetValue

func SetValue(container protoreflect.Message, value protoreflect.Message) error

SetValue will assign one-of value to a container with corresponding one-of

func Value

Value get single one-of value. Extract actual one-of message instead of `IsOneOfFoo` interface wrapper

Types

This section is empty.

Jump to

Keyboard shortcuts

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