The sqltype
package is a set of types that embraces the
sql.Scanner
interface from database/sql
to other types,
e.g. time.Time
with sqltype.NullTime
and time.Duration
with sqltype.NullDuration
.
Parts of this are taken from the lib/pq
library, e.g.
the sqltype.NullTime
has been take from
here.
MIT. See LICENSE file.