myenum

package
v1.13.7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: BSD-3-Clause Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ENum

type ENum[V any] interface {
	Name() string
	Value() V
	SetValue(value V)
	// 新增
	WithToken() string
}

func NewENum

func NewENum[V any](name string, value V) ENum[V]

Jump to

Keyboard shortcuts

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