Versions in this module Expand all Collapse all v1 v1.0.1 Oct 2, 2022 Changes in this version + func JSONMarshal(t interface{}) ([]byte, error) + type Bool struct + Bool bool + Valid bool + func (b *Bool) IsNull() bool + func (b *Bool) Scan(value interface{}) error + func (b *Bool) UnmarshalJSON(data []byte) error + func (b Bool) MarshalJSON() ([]byte, error) + func (b Bool) Value() (driver.Value, error) + type Byte struct + Byte byte + Valid bool + func (b *Byte) IsNull() bool + func (b *Byte) Scan(value interface{}) error + func (b *Byte) UnmarshalJSON(data []byte) error + func (b Byte) MarshalJSON() ([]byte, error) + func (b Byte) Value() (driver.Value, error) + type Float32 struct + Float32 float32 + Valid bool + func (f *Float32) IsNull() bool + func (f *Float32) Scan(value interface{}) error + func (f *Float32) UnmarshalJSON(data []byte) error + func (f Float32) MarshalJSON() ([]byte, error) + func (f Float32) Value() (driver.Value, error) + type Float64 struct + Float64 float64 + Valid bool + func (f *Float64) IsNull() bool + func (f *Float64) Scan(value interface{}) error + func (f *Float64) UnmarshalJSON(data []byte) error + func (f Float64) MarshalJSON() ([]byte, error) + func (f Float64) Value() (driver.Value, error) + type Int struct + Int int + Valid bool + func (i *Int) IsNull() bool + func (i *Int) Scan(value interface{}) error + func (i *Int) UnmarshalJSON(data []byte) error + func (i Int) MarshalJSON() ([]byte, error) + func (i Int) Value() (driver.Value, error) + type Int16 struct + Int16 int16 + Valid bool + func (i *Int16) IsNull() bool + func (i *Int16) Scan(value interface{}) error + func (i *Int16) UnmarshalJSON(data []byte) error + func (i Int16) MarshalJSON() ([]byte, error) + func (i Int16) Value() (driver.Value, error) + type Int32 struct + Int32 int32 + Valid bool + func (i *Int32) IsNull() bool + func (i *Int32) Scan(value interface{}) error + func (i *Int32) UnmarshalJSON(data []byte) error + func (i Int32) MarshalJSON() ([]byte, error) + func (i Int32) Value() (driver.Value, error) + type Int64 struct + Int64 int64 + Valid bool + func (i *Int64) IsNull() bool + func (i *Int64) Scan(value interface{}) error + func (i *Int64) UnmarshalJSON(data []byte) error + func (i Int64) MarshalJSON() ([]byte, error) + func (i Int64) Value() (driver.Value, error) + type Int8 struct + Int8 int8 + Valid bool + func (i *Int8) IsNull() bool + func (i *Int8) Scan(value interface{}) error + func (i *Int8) UnmarshalJSON(data []byte) error + func (i Int8) MarshalJSON() ([]byte, error) + func (i Int8) Value() (driver.Value, error) + type String struct + String string + Valid bool + func (s *String) IsEmpty() bool + func (s *String) IsNull() bool + func (s *String) Scan(value interface{}) error + func (s *String) UnmarshalJSON(data []byte) error + func (s String) MarshalJSON() ([]byte, error) + func (s String) Value() (driver.Value, error) + type Time struct + Time time.Time + Valid bool + func (s *Time) IsNull() bool + func (t *Time) Scan(value interface{}) error + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) Value() (driver.Value, error)