Documentation ¶
Index ¶
- type Bool
- type Float
- func (f Float) Float() float64
- func (f Float) Interface() interface{}
- func (f Float) IsNull() bool
- func (f Float) IsPresent() bool
- func (f Float) MarshalJSON() ([]byte, error)
- func (f *Float) Set(value float64)
- func (f Float) String() string
- func (f *Float) UnmarshalJSON(value []byte) error
- func (f *Float) Unset()
- type Int
- type Int64
- func (i Int64) Int64() int64
- func (i Int64) Interface() interface{}
- func (i Int64) IsNull() bool
- func (i Int64) IsPresent() bool
- func (i Int64) MarshalJSON() ([]byte, error)
- func (i *Int64) Set(value int64)
- func (i Int64) String() string
- func (i *Int64) UnmarshalJSON(value []byte) error
- func (i *Int64) Unset()
- type Nullable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
Bool provides a nullable bool
func (Bool) Interface ¶
func (b Bool) Interface() interface{}
Interface returns the boolean value (if present) or NIL
func (Bool) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface
func (*Bool) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface
type Float ¶
type Float struct {
// contains filtered or unexported fields
}
Float provides a nullable float64
func (Float) Interface ¶
func (f Float) Interface() interface{}
Interface returns the float64 value (if present) or NIL
func (Float) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface
func (*Float) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
Int provides a nullable bool
func (Int) Interface ¶
func (i Int) Interface() interface{}
Interface returns the int value (if present) or NIL
func (Int) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface
func (*Int) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
Int64 provides a nullable bool
func (Int64) Interface ¶
func (i Int64) Interface() interface{}
Interface returns the int value (if present) or NIL
func (Int64) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface