velour/catbase

Figure out a better way to handle time types

Closed this issue · 1 comments

I was originally using time.Time types to interface with the database but ran into some issues. The SQLite library was spitting a few different formats of time in a string form, and the driver was trying to convert them unsuccessfully to time.Time types for me. In the end, I went with an Int64 to speed things up, but this is clunky for various reasons as well.

The SQLite driver supports time.Time these days. It'll happen as it happens.