Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestIntEnum ¶
type TestIntEnum int
const ( TestIntEnumAvailable TestIntEnum = 1 TestIntEnumSold TestIntEnum = 2 )
type TestStringEnum ¶
type TestStringEnum string
const ( TestStringEnumAvailable TestStringEnum = "available" TestStringEnumSold TestStringEnum = "sold" )
type TestStructWithIntEnum ¶
type TestStructWithIntEnum struct { // Enum Enum TestIntEnum `json:"enum,omitempty"` }
type TestStructWithStringEnum ¶
type TestStructWithStringEnum struct { // Enum Enum TestStringEnum `json:"enum,omitempty"` }
Click to show internal directories.
Click to hide internal directories.