Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Instantiate ¶
func Instantiate(colType *sql.ColumnType) interface{}
func ParseRows ¶
func ParseRows(rows *sql.Rows, instantiate TypeInstantiator) (db.QueryResult, error)
Types ¶
type TypeInstantiator ¶
type TypeInstantiator func(colType *sql.ColumnType) interface{}
TypeInstantiator defines a function that each driver should implement in order to instantiate a typed variable pointer according to a DB column type.
Click to show internal directories.
Click to hide internal directories.