Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64fromUint8s ¶
Types ¶
type BitBool ¶ added in v0.3.20
BitBool is an implementation of a bool for the MySQL type BIT(1). This type allows you to avoid wasting an entire byte for MySQL's boolean type TINYINT.
func (*BitBool) MarshalJSON ¶ added in v0.3.20
MarshalJSON for BitBool
func (*BitBool) Scan ¶ added in v0.3.20
Scan implements the sql.Scanner interface, and turns the bitfield incoming from MySQL into a BitBool
func (*BitBool) UnmarshalJSON ¶ added in v0.3.20
UnmarshalJSON for Bool
type BitToInt64 ¶ added in v0.1.7
func (*BitToInt64) MarshalJSON ¶ added in v0.1.7
func (nt *BitToInt64) MarshalJSON() ([]byte, error)
MarshalJSON for Bool
func (*BitToInt64) Scan ¶ added in v0.1.7
func (nt *BitToInt64) Scan(value interface{}) error
func (*BitToInt64) UnmarshalJSON ¶ added in v0.1.7
func (nt *BitToInt64) UnmarshalJSON(b []byte) error
UnmarshalJSON for Bool
type Decimal ¶
func (*Decimal) MarshalJSON ¶
MarshalJSON for Decimal
func (*Decimal) UnmarshalJSON ¶
UnmarshalJSON for Decimal
type Numeric ¶
func (*Numeric) MarshalJSON ¶
MarshalJSON for Numeric
func (*Numeric) UnmarshalJSON ¶
UnmarshalJSON for Numeric
type String ¶
String is an alias for sql.String data type
func (*String) UnmarshalJSON ¶
UnmarshalJSON for String
Click to show internal directories.
Click to hide internal directories.