Versions in this module Expand all Collapse all v2 v2.1.0 Jun 8, 2021 v2.0.6 Apr 6, 2021 v2.0.5 Feb 24, 2021 v2.0.4 Feb 14, 2021 v2.0.3 Feb 8, 2021 v2.0.2 Jan 30, 2021 v2.0.1 Jan 25, 2021 v2.0.0 Jan 15, 2021 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 Other modules containing this package github.com/diamondburned/arikawa github.com/diamondburned/arikawa/v3