Versions in this module Expand all Collapse all v3 v3.1.0 Oct 11, 2022 Changes in this version + var False = newBool(false) + var NullBool = &NullableBoolData + var NullInt = &NullableIntData + var NullString = &NullableStringData + var NullUint = &NullableUintData + var NullableFalse = &NullableBoolData + var NullableTrue = &NullableBoolData + var True = newBool(true) + var ZeroFloat = NewFloat(0) + var ZeroInt = NewInt(0) + var ZeroUint = NewUint(0) + type Bool *bool + type Float *float64 + func NewFloat(i float64) Float + type Int *int + func NewInt(i int) Int + type NullableBool = *NullableBoolData + type NullableBoolData struct + Init bool + Val bool + func (b *NullableBoolData) UnmarshalJSON(json []byte) (err error) + func (b NullableBoolData) MarshalJSON() ([]byte, error) + type NullableInt = *NullableIntData + func NewNullableInt(v int) NullableInt + type NullableIntData struct + Init bool + Val int + func (i *NullableIntData) UnmarshalJSON(json []byte) error + func (i NullableIntData) MarshalJSON() ([]byte, error) + type NullableString = *NullableStringData + func NewNullableString(v string) NullableString + type NullableStringData struct + Init bool + Val string + func (s *NullableStringData) UnmarshalJSON(b []byte) error + func (s NullableStringData) MarshalJSON() ([]byte, error) + type NullableUint = *NullableUintData + func NewNullableUint(v uint) NullableUint + type NullableUintData struct + Init bool + Val uint + func (u *NullableUintData) UnmarshalJSON(json []byte) error + func (u NullableUintData) MarshalJSON() ([]byte, error) + type String *string + func NewString(s string) String + type Uint *uint + func NewUint(u uint) Uint