enum

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnumString

func EnumString[T ~string](values []T) string

EnumString returns a comma-separated string of the enum values. This is primarily used to generate a cli flag.

func EnumStringer added in v1.16.3

func EnumStringer[T fmt.Stringer](values []T) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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