Documentation
¶
Overview ¶
Code generated via enum_codegen DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Tags = map[Enum]string{
Undefined: "Undefined",
EnumValue1: "Sample value",
EnumValue2: "enum_value_2",
EnumValue3: "enum_value_3",
EnumValue4: "enum_value_4",
EnumValue5: "enum_value_5",
}
View Source
var Translations = map[Enum]string{
Undefined: "Enum Value is undefined",
EnumValue1: "enum_value_1",
EnumValue2: "enum_value_2",
EnumValue3: "Enum ultra value",
EnumValue4: "Enum last value",
EnumValue5: "enum_value_5",
}
View Source
var Types = map[string]Enum{ "Undefined": Undefined, "Sample value": EnumValue1, "enum_value_2": EnumValue2, "enum_value_3": EnumValue3, "enum_value_4": EnumValue4, "enum_value_5": EnumValue5, }
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum int
const ( // Undefined Value="Undefined" Translate="Enum Value is undefined" Undefined Enum = iota // EnumValue1 docs Value="Sample value" EnumValue1 EnumValue2 // EnumValue3 Some documentation, some explanation, etc. Translate="Enum ultra value" EnumValue3 // Translate="Enum last value" and some documentation here EnumValue4 EnumValue5 )
func (Enum) MarshalJSON ¶
func (*Enum) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.