Documentation ¶
Index ¶
Constants ¶
View Source
const PublicConst = "public"
public
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Primitives ¶
type Primitives struct { // comment here Int int `json:"int"` Int64 int64 `json:"int_64"` Float32 float32 `json:"float_32"` Float64 float64 `json:"float_64"` Bool bool `json:"bool"` String string `json:"string"` Bytes []byte `json:"bytes"` Map map[string]string `json:"map"` MapInterface map[string]interface{} `json:"map_interface"` Slice []int `json:"slice"` Omitempty int `json:"omitempty,omitempty"` Required int `json:"some_int,required"` Ptr *int `json:"ptr"` NullableBool bool `json:"nullable_bool" nullable:"true"` NullableBoolOmitempty bool `json:"nullable_bool_omitempty,omitempty" nullable:"true"` Interface interface{} `json:"-"` }
type StructSlice ¶ added in v0.0.6
type StructSlice []Dep
Click to show internal directories.
Click to hide internal directories.