NOTE API is not locked yet.
Works with Go 1.1+
Backend-agnostic SQL utilities. Github suggested I name this
derp-octo-ironman
. I almost did. Almost.
This library supplies:
- Wrappers to Go's
big.Int
andbig.Rat
that allows them to be used withdatabase/sql
Scan
andExec
functions to interact with arbitrary precision database fields. Also supplies Null* analogues for each of these. - Wrappers for
NullString
,NullInt64
,NullFloat64
fromdatabase/sql
that satisfiy thejson.Marshaler
interface. - An implementation of
NullTime
that satisfies thejson.Marshaler
interface as well assql.Scanner
anddriver.Valuer
for use withdatabase/sql
.