Documentation
¶
Overview ¶
Code generated by github.com/yssk22/go/generator DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct { BoolVal bool `json:"bool_val"` BoolPtr *bool `json:"bool_ptr"` IntVaL int `json:"int_val"` IntPtr *int `json:"int_ptr"` FloatVal float64 `json:"float_val"` FloatPtr *float64 `json:"float_ptr"` StringVal string `json:"string_val"` StringPtr *string `json:"string_ptr"` TimeVal time.Time `json:"time_val"` TimePtr *time.Time `json:"time_ptr"` InnerVal Inner `json:"inner_val"` InnerPtr *Inner `json:"inner_ptr"` Imported types.RGB `json:"rgb"` EnumVal MyEnum `json:"enum_value"` EnumPtr *MyEnum `json:"enum_ptr"` }
Example to test struct @flow
type Inner ¶
type Inner struct { BoolVal bool `json:"bool_val"` BoolPtr *bool `json:"bool_ptr"` IntVaL int `json:"int_val"` IntPtr *int `json:"int_ptr"` FloatVal float64 `json:"float_val"` FloatPtr *float64 `json:"float_ptr"` StringVal string `json:"string_val"` StringPtr *string `json:"string_ptr"` TimeVal time.Time `json:"time_val"` TimePtr *time.Time `json:"time_ptr"` }
Inner to test inner object @flow
type MyEnum ¶
type MyEnum int
MyEnum is an example of enum @enum @flow
func MustParseMyEnum ¶
func ParseMyEnum ¶
func ParseMyEnumOr ¶
func (MyEnum) MarshalJSON ¶
func (*MyEnum) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.