generate

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(packageName string, enums []Enum, w io.Writer) error

Types

type Enum

type Enum struct {
	Name       string
	Values     []Value
	Sourcename string
}

type Value

type Value struct {
	Symbol string
	Value  string
	Pretty string
}

Jump to

Keyboard shortcuts

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