Versions in this module Expand all Collapse all v0 v0.0.2 Mar 7, 2024 v0.0.1 Mar 7, 2024 Changes in this version + func SqlPrepare(x interface{}) interface + type JSONText json.RawMessage + func (j *JSONText) Scan(src interface{}) error + func (j *JSONText) Unmarshal(v interface{}) error + func (j *JSONText) UnmarshalJSON(data []byte) error + func (j JSONText) MarshalJSON() ([]byte, error) + func (j JSONText) String() string + func (j JSONText) Value() (driver.Value, error) + type NullBool sql.NullBool + func SetBool(b bool) *NullBool + func (n *NullBool) Value() (driver.Value, error) + func (nb *NullBool) Scan(value interface{}) error + func (ns *NullBool) UnmarshalJSON(b []byte) error + func (ns NullBool) MarshalJSON() ([]byte, error) + type NullBoolString struct + String string + Valid bool + func SetStrBool(s string) *NullBoolString + func (ns *NullBoolString) Scan(value interface{}) error + func (ns *NullBoolString) UnmarshalJSON(b []byte) error + func (ns NullBoolString) MarshalJSON() ([]byte, error) + func (ns NullBoolString) Value() (driver.Value, error) + type NullFloat64 struct + Float64 float64 + Valid bool + func (n *NullFloat64) Scan(value interface{}) error + func (n NullFloat64) Value() (driver.Value, error) + func (ns NullFloat64) MarshalJSON() ([]byte, error) + type NullInt64 struct + Int64 int64 + Valid bool + func SetInt64(i int64) *NullInt64 + func SetInt64FromStr(s string) *NullInt64 + func (n *NullInt64) Scan(value interface{}) error + func (n *NullInt64) UnmarshalJSON(b []byte) error + func (n NullInt64) MarshalJSON() ([]byte, error) + func (n NullInt64) Value() (driver.Value, error) + type NullJSONText struct + Valid bool + func SetEmptyJson() (*NullJSONText, error) + func (n *NullJSONText) Scan(value interface{}) error + func (n NullJSONText) Value() (driver.Value, error) + type NullString struct + String string + Valid bool + func SetStr(s string) *NullString + func SetStrFromInt64(i int64) *NullString + func (ns *NullString) Scan(value interface{}) error + func (ns *NullString) UnmarshalJSON(b []byte) error + func (ns NullString) MarshalJSON() ([]byte, error) + func (ns NullString) Value() (driver.Value, error) + type NullTime struct + Time time.Time + Valid bool + func SetDateStrTime(s string) *NullTime + func SetNow() *NullTime + func (ns *NullTime) UnmarshalJSON(b []byte) error + func (ns NullTime) MarshalJSON() ([]byte, error) + func (nt *NullTime) Scan(value interface{}) error + func (nt NullTime) Value() (driver.Value, error)