rqlite / gorqlite

A Go client for rqlite, the distributed database built on SQLite
MIT License
139 stars 34 forks source link

add support for time.Time #9

Closed paulstuart closed 4 years ago

paulstuart commented 4 years ago

This adds time.Time as a supported scan field (tested with int/datetime sqlite types). Made the scanning (ostensibly) panic proof and enhanced error reporting on failed scans.

paulstuart commented 4 years ago

Ok, the test failed because I used a go 1.13 construct for wrapping errors. I'll downgrade that to be generic.