Documentation ¶
Index ¶
- type Bool
- func (v *Bool) Get() bool
- func (v *Bool) IsSet() bool
- func (v *Bool) IsValid() bool
- func (v Bool) MarshalJSON() ([]byte, error)
- func (v Bool) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Bool) SetNull()
- func (v *Bool) SetValue(val bool)
- func (v Bool) String() string
- func (v *Bool) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Bool) UnmarshalJSON(data []byte) error
- type Float32
- func (v *Float32) Get() float32
- func (v *Float32) IsSet() bool
- func (v *Float32) IsValid() bool
- func (v Float32) MarshalJSON() ([]byte, error)
- func (v Float32) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Float32) SetNull()
- func (v *Float32) SetValue(val float32)
- func (v Float32) String() string
- func (v *Float32) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Float32) UnmarshalJSON(data []byte) error
- type Float64
- func (v *Float64) Get() float64
- func (v *Float64) IsSet() bool
- func (v *Float64) IsValid() bool
- func (v Float64) MarshalJSON() ([]byte, error)
- func (v Float64) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Float64) SetNull()
- func (v *Float64) SetValue(val float64)
- func (v Float64) String() string
- func (v *Float64) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Float64) UnmarshalJSON(data []byte) error
- type Int
- func (v *Int) Get() int
- func (v *Int) IsSet() bool
- func (v *Int) IsValid() bool
- func (v Int) MarshalJSON() ([]byte, error)
- func (v Int) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Int) SetNull()
- func (v *Int) SetValue(val int)
- func (v Int) String() string
- func (v *Int) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int) UnmarshalJSON(data []byte) error
- type Int16
- func (v *Int16) Get() int16
- func (v *Int16) IsSet() bool
- func (v *Int16) IsValid() bool
- func (v Int16) MarshalJSON() ([]byte, error)
- func (v Int16) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Int16) SetNull()
- func (v *Int16) SetValue(val int16)
- func (v Int16) String() string
- func (v *Int16) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int16) UnmarshalJSON(data []byte) error
- type Int32
- func (v *Int32) Get() int32
- func (v *Int32) IsSet() bool
- func (v *Int32) IsValid() bool
- func (v Int32) MarshalJSON() ([]byte, error)
- func (v Int32) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Int32) SetNull()
- func (v *Int32) SetValue(val int32)
- func (v Int32) String() string
- func (v *Int32) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int32) UnmarshalJSON(data []byte) error
- type Int64
- func (v *Int64) Get() int64
- func (v *Int64) IsSet() bool
- func (v *Int64) IsValid() bool
- func (v Int64) MarshalJSON() ([]byte, error)
- func (v Int64) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Int64) SetNull()
- func (v *Int64) SetValue(val int64)
- func (v Int64) String() string
- func (v *Int64) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int64) UnmarshalJSON(data []byte) error
- type Int8
- func (v *Int8) Get() int8
- func (v *Int8) IsSet() bool
- func (v *Int8) IsValid() bool
- func (v Int8) MarshalJSON() ([]byte, error)
- func (v Int8) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Int8) SetNull()
- func (v *Int8) SetValue(val int8)
- func (v Int8) String() string
- func (v *Int8) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int8) UnmarshalJSON(data []byte) error
- type String
- func (v *String) Get() string
- func (v *String) IsSet() bool
- func (v *String) IsValid() bool
- func (v String) MarshalJSON() ([]byte, error)
- func (v String) MarshalPartialJSON(w *jwriter.Writer)
- func (v *String) SetNull()
- func (v *String) SetValue(val string)
- func (v String) String() string
- func (v *String) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *String) UnmarshalJSON(data []byte) error
- type Uint
- func (v *Uint) Get() uint
- func (v *Uint) IsSet() bool
- func (v *Uint) IsValid() bool
- func (v Uint) MarshalJSON() ([]byte, error)
- func (v Uint) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Uint) SetNull()
- func (v *Uint) SetValue(val uint)
- func (v Uint) String() string
- func (v *Uint) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint) UnmarshalJSON(data []byte) error
- type Uint16
- func (v *Uint16) Get() uint16
- func (v *Uint16) IsSet() bool
- func (v *Uint16) IsValid() bool
- func (v Uint16) MarshalJSON() ([]byte, error)
- func (v Uint16) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Uint16) SetNull()
- func (v *Uint16) SetValue(val uint16)
- func (v Uint16) String() string
- func (v *Uint16) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint16) UnmarshalJSON(data []byte) error
- type Uint32
- func (v *Uint32) Get() uint32
- func (v *Uint32) IsSet() bool
- func (v *Uint32) IsValid() bool
- func (v Uint32) MarshalJSON() ([]byte, error)
- func (v Uint32) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Uint32) SetNull()
- func (v *Uint32) SetValue(val uint32)
- func (v Uint32) String() string
- func (v *Uint32) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint32) UnmarshalJSON(data []byte) error
- type Uint64
- func (v *Uint64) Get() uint64
- func (v *Uint64) IsSet() bool
- func (v *Uint64) IsValid() bool
- func (v Uint64) MarshalJSON() ([]byte, error)
- func (v Uint64) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Uint64) SetNull()
- func (v *Uint64) SetValue(val uint64)
- func (v Uint64) String() string
- func (v *Uint64) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint64) UnmarshalJSON(data []byte) error
- type Uint8
- func (v *Uint8) Get() uint8
- func (v *Uint8) IsSet() bool
- func (v *Uint8) IsValid() bool
- func (v Uint8) MarshalJSON() ([]byte, error)
- func (v Uint8) MarshalPartialJSON(w *jwriter.Writer)
- func (v *Uint8) SetNull()
- func (v *Uint8) SetValue(val uint8)
- func (v Uint8) String() string
- func (v *Uint8) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint8) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
bool 'gotemplate'-based type for providing optional semantics without using pointers.
func (Bool) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Bool) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Bool) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Bool) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Float32 ¶
float32 'gotemplate'-based type for providing optional semantics without using pointers.
func (Float32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Float32) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Float32) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Float32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Float64 ¶
float64 'gotemplate'-based type for providing optional semantics without using pointers.
func (Float64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Float64) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Float64) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Float64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int ¶
int 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int16 ¶
int16 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int16) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int16) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int16) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int16) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int32 ¶
int32 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int32) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int32) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int64 ¶
int64 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int64) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int64) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int8 ¶
int8 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int8) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int8) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int8) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int8) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type String ¶
string 'gotemplate'-based type for providing optional semantics without using pointers.
func (String) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (String) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*String) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*String) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint ¶
uint 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint16 ¶
uint16 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint16) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint16) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint16) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint16) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint32 ¶
uint32 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint32) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint32) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint64 ¶
uint64 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint64) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint64) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint8 ¶
uint8 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint8) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint8) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint8) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint8) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.