enum

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnum

func GetEnum[E protoreflect.Enum](s string) (e E, err error)

GetEnum of given Type and string if annotated with a enum_string_value

func GetStringValue

func GetStringValue[E protoreflect.Enum](e E) (*string, error)

GetStringValue from a enum if the Enum is annotated with a enum_string_value

Types

This section is empty.

Jump to

Keyboard shortcuts

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