Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeConverter ¶
type TypeConverter struct{}
Converter type to assign to gorp
func (TypeConverter) FromDb ¶
func (c TypeConverter) FromDb(target interface{}) (gorp.CustomScanner, bool)
Called by gorp to deserialize database values to custom types
func (TypeConverter) ToDb ¶
func (c TypeConverter) ToDb(val interface{}) (interface{}, error)
Called by gorp to serialize custom types to database values
Click to show internal directories.
Click to hide internal directories.