Documentation ¶
Index ¶
- type Float
- type Int
- type Map
- type String
- func (s String) Format(sep string) string
- func (s String) Interface() interface{}
- func (s *String) Scan(src interface{}) error
- func (s String) TagValue() string
- func (s *String) UnmarshalJSON(data []byte) error
- func (s *String) UnmarshalText(text []byte) error
- func (s String) Value() (driver.Value, error)
- type UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float ¶
type Float []float64
Float is a slice of float64.
func (Float) Interface ¶
func (f Float) Interface() interface{}
Interface implements the nulls.nullable interface.
func (*Float) Scan ¶
Scan implements the sql.Scanner interface. It allows to read the float slice from the database value.
func (*Float) UnmarshalText ¶
UnmarshalText will unmarshall text value into the float slice representation of this value.
type Int ¶
type Int []int
Int is a slice of int.
func (Int) Interface ¶
func (i Int) Interface() interface{}
Interface implements the nulls.nullable interface.
func (*Int) Scan ¶
Scan implements the sql.Scanner interface. It allows to read the int slice from the database value.
func (*Int) UnmarshalText ¶
UnmarshalText will unmarshall text value into the int slice representation of this value.
type Map ¶
type Map map[string]interface{}
Map is a map[string]interface.
func (Map) Interface ¶
func (m Map) Interface() interface{}
Interface implements the nulls.nullable interface.
func (*Map) Scan ¶
Scan implements the sql.Scanner interface. It allows to read the map from the database value.
func (Map) UnmarshalJSON ¶
UnmarshalJSON will unmarshall JSON value into the map representation of this value.
func (Map) UnmarshalText ¶
UnmarshalText will unmarshall text value into the map representation of this value.
type String ¶
type String []string
String is a slice of strings.
func (String) Interface ¶
func (s String) Interface() interface{}
Interface implements the nulls.nullable interface.
func (*String) Scan ¶
Scan implements the sql.Scanner interface. It allows to read the string slice from the database value.
func (String) TagValue ¶
TagValue implements the tagValuer interface, to work with https://github.com/gobuffalo/tags.
func (*String) UnmarshalJSON ¶
UnmarshalJSON will unmarshall JSON value into the string slice representation of this value.
func (*String) UnmarshalText ¶
UnmarshalText will unmarshall text value into the string slice representation of this value.
type UUID ¶
UUID is a slice of UUIDs.
func (UUID) Interface ¶
func (s UUID) Interface() interface{}
Interface implements the nulls.nullable interface.
func (*UUID) Scan ¶
Scan implements the sql.Scanner interface. It allows to read the UUID slice from the database value.
func (UUID) TagValue ¶
TagValue implements the tagValuer interface, to work with https://github.com/gobuffalo/tags.
func (*UUID) UnmarshalJSON ¶
UnmarshalJSON will unmarshall JSON value into the UUID slice representation of this value.
func (*UUID) UnmarshalText ¶
UnmarshalText will unmarshall text value into the UUID slice representation of this value.