Documentation
¶
Overview ¶
Package enumx is the catalog of the enums of a project: every allowed value of a status, a provider or a type with its description, for clients and for validation. The catalog is generated from the go-enum markers of the domain package, as in taply.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog []Entity
Catalog is every enum of the project, ordered as the markers ask.
type Entity ¶
type Entity struct {
Entity string `json:"entity"`
Description string `json:"description"`
Enums []Enum `json:"enums"`
}
Entity groups the enums of one domain entity.
Click to show internal directories.
Click to hide internal directories.