Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Enum ¶
type Enum int8
Enum main type
const ( // RAML parser cache directory, type: string, default: "" CacheDirectory Enum = 1 + iota // RAML parser should check RAML version or not, type: bool, default: false CheckRAMLVersion // options pass to CheckValueAPIType, type: []CheckValueOption, default: []CheckValueOption{} CheckValueOptions // show RAML data when error occur, set < 0 to disable, type: int64, default: 4 ErrorTraceDistance // RAML parser should ignore unused annotations, type: bool, default: false IgnoreUnusedAnnotation // RAML parser should ignore unused traits, type: bool, default: false IgnoreUnusedTrait )
List all valid enum
func (Enum) MarshalJSON ¶
MarshalJSON return jsonfy []byte of enum
func (*Enum) UnmarshalJSON ¶
UnmarshalJSON decode json data to enum
Click to show internal directories.
Click to hide internal directories.