Versions in this module Expand all Collapse all v0 v0.0.1 Nov 20, 2023 Changes in this version + var ErrorFailedToCheckRecord = fmt.Errorf("failed to check record") + var ErrorNoAffected = fmt.Errorf("no affected") + var ErrorNoLastInsertId = fmt.Errorf("no last insert id") + var ErrorRecordWasNotFound = fmt.Errorf("record was not found") + func IsJsonNull(data []byte) bool + type NullBool struct + func NewNullBool(ok bool) *NullBool + func (nb NullBool) Ptr() (out *bool) + func (null *NullBool) UnmarshalJSON(data []byte) error + func (null NullBool) MarshalJSON() ([]byte, error) + func (null NullBool) Print() string + type NullInt struct + func NewNullInt(i int) *NullInt + func NewNullInt64(i int64) *NullInt + func (null *NullInt) UnmarshalJSON(data []byte) error + func (null NullInt) Int() int + func (null NullInt) MarshalJSON() ([]byte, error) + func (null NullInt) Print() string + func (null NullInt) Ptr() (out *int) + type NullKeyValue struct + KeyValue map[string]string + Valid bool + func NewNullMapStringString(object map[string]string) *NullKeyValue + func (null *NullKeyValue) Scan(value interface{}) error + func (null *NullKeyValue) UnmarshalJSON(data []byte) error + func (null NullKeyValue) MarshalJSON() ([]byte, error) + func (null NullKeyValue) Print() string + func (null NullKeyValue) Value() (driver.Value, error) + type NullObject struct + Object map[string]interface{} + Valid bool + func NewNullObject(object map[string]interface{}) *NullObject + func (null *NullObject) Scan(value interface{}) error + func (null *NullObject) UnmarshalJSON(data []byte) error + func (null NullObject) MarshalJSON() ([]byte, error) + func (null NullObject) Print() string + func (null NullObject) Value() (driver.Value, error) + type NullString struct + func NewNullString(s string) *NullString + func (ns *NullString) UnmarshalJSON(data []byte) (err error) + func (ns NullString) MarshalJSON() ([]byte, error) + func (ns NullString) Ptr() (out *string) + func (null NullString) Print() string + type NullTime struct + func NewNullTime(t time.Time) *NullTime + func (nt *NullTime) UnmarshalJSON(data []byte) error + func (nt NullTime) MarshalJSON() ([]byte, error) + func (nt NullTime) Ptr() (out *time.Time) + func (null NullTime) Print() string + type NullUint8 struct + func NewNullUint8(b uint8) *NullUint8 + func (null *NullUint8) UnmarshalJSON(data []byte) error + func (null NullUint8) MarshalJSON() ([]byte, error) + func (null NullUint8) Print() string + func (null NullUint8) Ptr() (out *uint8) + func (null NullUint8) Uint8() uint8