Documentation ¶
Index ¶
- type Bool
- 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) MarshalJSON() ([]byte, error)
- func (v String) MarshalTinyJSON(w *jwriter.Writer)
- func (v String) String() string
- func (v *String) UnmarshalJSON(data []byte) error
- func (v *String) UnmarshalTinyJSON(l *jlexer.Lexer)
- type Uint
- type Uint16
- func (v Uint16) Get(deflt uint16) uint16
- func (v Uint16) IsDefined() bool
- func (v Uint16) MarshalJSON() ([]byte, error)
- func (v Uint16) MarshalTinyJSON(w *jwriter.Writer)
- func (v Uint16) String() string
- func (v *Uint16) UnmarshalJSON(data []byte) error
- func (v *Uint16) UnmarshalTinyJSON(l *jlexer.Lexer)
- type Uint32
- func (v Uint32) Get(deflt uint32) uint32
- func (v Uint32) IsDefined() bool
- func (v Uint32) MarshalJSON() ([]byte, error)
- func (v Uint32) MarshalTinyJSON(w *jwriter.Writer)
- func (v Uint32) String() string
- func (v *Uint32) UnmarshalJSON(data []byte) error
- func (v *Uint32) UnmarshalTinyJSON(l *jlexer.Lexer)
- type Uint64
- func (v Uint64) Get(deflt uint64) uint64
- func (v Uint64) IsDefined() bool
- func (v Uint64) MarshalJSON() ([]byte, error)
- func (v Uint64) MarshalTinyJSON(w *jwriter.Writer)
- func (v Uint64) String() string
- func (v *Uint64) UnmarshalJSON(data []byte) error
- func (v *Uint64) UnmarshalTinyJSON(l *jlexer.Lexer)
- 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Bool) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Bool) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Bool) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Int) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Int) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int16) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Int16) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Int16) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int32) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Int32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Int32) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int64) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Int64) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int8) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Int8) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Int8) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (String) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*String) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*String) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Uint) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Uint) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint16) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Uint16) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Uint16) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint32) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Uint32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Uint32) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint64) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Uint64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Uint64) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson 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) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint8) MarshalTinyJSON ¶
MarshalTinyJSON does JSON marshaling using tinyjson interface.
func (*Uint8) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
func (*Uint8) UnmarshalTinyJSON ¶
UnmarshalTinyJSON does JSON unmarshaling using tinyjson interface.