Documentation ¶
Index ¶
- type Bool
- type Float32
- func (v Float32) Get(deflt float32) float32
- func (v Float32) IsDefined() bool
- func (v Float32) MarshalEasyJSON(w *jwriter.Writer)
- func (v *Float32) MarshalJSON() ([]byte, error)
- func (v Float32) String() string
- func (v *Float32) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Float32) UnmarshalJSON(data []byte) error
- type Float64
- func (v Float64) Get(deflt float64) float64
- func (v Float64) IsDefined() bool
- func (v Float64) MarshalEasyJSON(w *jwriter.Writer)
- func (v *Float64) MarshalJSON() ([]byte, error)
- func (v Float64) String() string
- func (v *Float64) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Float64) UnmarshalJSON(data []byte) error
- type Int
- type Int16
- type Int32
- type Int64
- type Int8
- type String
- func (v String) Get(deflt string) string
- func (v String) IsDefined() bool
- func (v String) MarshalEasyJSON(w *jwriter.Writer)
- func (v *String) MarshalJSON() ([]byte, error)
- func (v String) String() string
- func (v *String) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *String) UnmarshalJSON(data []byte) error
- type Uint
- type Uint16
- func (v Uint16) Get(deflt uint16) uint16
- func (v Uint16) IsDefined() bool
- func (v Uint16) MarshalEasyJSON(w *jwriter.Writer)
- func (v *Uint16) MarshalJSON() ([]byte, error)
- func (v Uint16) String() string
- func (v *Uint16) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Uint16) UnmarshalJSON(data []byte) error
- type Uint32
- func (v Uint32) Get(deflt uint32) uint32
- func (v Uint32) IsDefined() bool
- func (v Uint32) MarshalEasyJSON(w *jwriter.Writer)
- func (v *Uint32) MarshalJSON() ([]byte, error)
- func (v Uint32) String() string
- func (v *Uint32) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Uint32) UnmarshalJSON(data []byte) error
- type Uint64
- func (v Uint64) Get(deflt uint64) uint64
- func (v Uint64) IsDefined() bool
- func (v Uint64) MarshalEasyJSON(w *jwriter.Writer)
- func (v *Uint64) MarshalJSON() ([]byte, error)
- func (v Uint64) String() string
- func (v *Uint64) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Uint64) UnmarshalJSON(data []byte) error
- type Uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Bool) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Bool) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Bool) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Bool) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Bool) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Float32 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Float32) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Float32) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Float32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Float32) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Float32) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Float64 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Float64) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Float64) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Float64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Float64) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Float64) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Int ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Int) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Int) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Int) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Int16 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int16) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int16) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Int16) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Int16) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Int16) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Int32 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int32) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int32) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Int32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Int32) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Int32) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Int64 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int64) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int64) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Int64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Int64) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Int64) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Int8 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int8) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int8) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Int8) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Int8) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Int8) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type String ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (String) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (String) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*String) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*String) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*String) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Uint ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Uint) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Uint) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Uint) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Uint16 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint16) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint16) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Uint16) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Uint16) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Uint16) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Uint32 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint32) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint32) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Uint32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Uint32) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Uint32) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Uint64 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint64) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint64) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Uint64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Uint64) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Uint64) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
type Uint8 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint8) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint8) MarshalEasyJSON ¶
MarshalEasyJSON does JSON marshaling using easyjson interface.
func (*Uint8) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (*Uint8) UnmarshalEasyJSON ¶
UnmarshalEasyJSON does JSON unmarshaling using easyjson interface.
func (*Uint8) UnmarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.