Versions in this module Expand all Collapse all v0 v0.9.0 May 24, 2020 Changes in this version + var False = newBool(false) + var NullBool = &NullableBoolData + var NullColor = &NullableColorData + var NullInt = &NullableIntData + var NullString = &NullableStringData + var NullUint = &NullableUintData + var NullableFalse = &NullableBoolData + var NullableTrue = &NullableBoolData + var True = newBool(true) + var ZeroInt = NewInt(0) + var ZeroSeconds = NewSeconds(0) + var ZeroUint = NewUint(0) + type Bool *bool + type Color = *discord.Color + func NewColor(s discord.Color) Color + 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 NullableColor = *NullableColorData + func NewNullableColor(v discord.Color) NullableColor + type NullableColorData struct + Init bool + Val discord.Color + func (i *NullableColorData) UnmarshalJSON(json []byte) error + func (i NullableColorData) 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 Seconds = *discord.Seconds + func NewSeconds(s discord.Seconds) Seconds + type String *string + func NewString(s string) String + type Uint *uint + func NewUint(u uint) Uint