enum

package
v1.6.5-rc34 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanEnum

func ScanEnum(src interface{}, offset int) (int, error)

func ScanIntEnumStringer

func ScanIntEnumStringer(src interface{}, offset int) (int, error)

Types

type Enum

type Enum = IntStringerEnum

type IntStringerEnum

type IntStringerEnum interface {
	TypeName() string
	Int() int
	String() string
	Label() string
	ConstValues() []IntStringerEnum
}

type ValueOffset

type ValueOffset interface {
	Offset() int
}

Jump to

Keyboard shortcuts

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