Skip to content

Implement the `sql.Scanner` interface from `database/sql` for other types, e.g. `time.Time` and `time.Duration`.

License

Notifications You must be signed in to change notification settings

olivere/sqltype

Repository files navigation

What is it?

Build Status

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.

Prior art

Parts of this are taken from the lib/pq library, e.g. the sqltype.NullTime has been take from here.

License

MIT. See LICENSE file.

About

Implement the `sql.Scanner` interface from `database/sql` for other types, e.g. `time.Time` and `time.Duration`.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages