Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsJsonNull ¶
Types ¶
type NullInt ¶
func NewNullInt ¶
func NewNullInt64 ¶
func (NullInt) MarshalJSON ¶
func (*NullInt) UnmarshalJSON ¶
type NullKeyValue ¶
func NewNullMapStringString ¶
func NewNullMapStringString(object map[string]string) *NullKeyValue
func (NullKeyValue) MarshalJSON ¶
func (null NullKeyValue) MarshalJSON() ([]byte, error)
func (NullKeyValue) Print ¶
func (null NullKeyValue) Print() string
func (*NullKeyValue) Scan ¶
func (null *NullKeyValue) Scan(value interface{}) error
func (*NullKeyValue) UnmarshalJSON ¶
func (null *NullKeyValue) UnmarshalJSON(data []byte) error
type NullObject ¶
func NewNullObject ¶
func NewNullObject(object map[string]interface{}) *NullObject
func (NullObject) MarshalJSON ¶
func (null NullObject) MarshalJSON() ([]byte, error)
func (NullObject) Print ¶
func (null NullObject) Print() string
func (*NullObject) Scan ¶
func (null *NullObject) Scan(value interface{}) error
func (*NullObject) UnmarshalJSON ¶
func (null *NullObject) UnmarshalJSON(data []byte) error
type NullString ¶
type NullString struct {
sql.NullString
}
func NewNullString ¶
func NewNullString(s string) *NullString
func (NullString) MarshalJSON ¶
func (ns NullString) MarshalJSON() ([]byte, error)
func (NullString) Print ¶
func (null NullString) Print() string
func (NullString) Ptr ¶
func (ns NullString) Ptr() (out *string)
func (*NullString) UnmarshalJSON ¶
func (ns *NullString) UnmarshalJSON(data []byte) (err error)
type NullUint8 ¶
func NewNullUint8 ¶
func (NullUint8) MarshalJSON ¶
func (*NullUint8) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.