enum

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum struct {
	Name           string        `json:"name"`
	Package        string        `json:"package"`
	Group          []string      `json:"group,omitempty"`
	Description    string        `json:"description,omitempty"`
	Icon           string        `json:"icon,omitempty"`
	Values         []string      `json:"values,omitempty"`
	Tags           []string      `json:"tags,omitempty"`
	TitleOverride  string        `json:"title,omitempty"`
	ProperOverride string        `json:"proper,omitempty"`
	RouteOverride  string        `json:"route,omitempty"`
	Config         util.ValueMap `json:"config,omitempty"`
}

func (*Enum) Breadcrumbs

func (e *Enum) Breadcrumbs() string

func (*Enum) Camel

func (e *Enum) Camel() string

func (*Enum) HasTag

func (e *Enum) HasTag(t string) bool

func (*Enum) IconSafe

func (e *Enum) IconSafe() string

func (*Enum) PackageWithGroup

func (e *Enum) PackageWithGroup(prefix string) string

func (*Enum) Proper

func (e *Enum) Proper() string

func (*Enum) Title

func (e *Enum) Title() string

func (*Enum) ValuesCamel added in v0.7.20

func (e *Enum) ValuesCamel() []string

type Enums

type Enums []*Enum

func (Enums) Get

func (e Enums) Get(key string) *Enum

Jump to

Keyboard shortcuts

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