Hi, I'm using github.com/mattn/go-sqlite3 through database/sql. I want to register a go func with sqlite, for the purposes of converting timestamps from UTC to the current locale of the current user. This would then allow me to GROUP records together depending on which "day" the records belong with respect to the user's locale.
I believe this means extracting the SQLite connection from database/sql's Tx struct. However, while I see Driver() in DB, I can't see something like Connection() in Tx. Now, I suppose I could extract the Connection from Tx using unsafe, but I'm really hoping I'm just missing something obvious and a clean solution will present itself. Thanks. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
