For MySQL users relying on github.com/go-sql-driver/mysql, ensure that parseTime=true is added to your database connection string.
Can there be a mode or switch that turns off this assumption? That is: any date/time field is assumed to be textual (string or []byte) rather than a time.Time{}?
Thanks!
What database engines need to be changed?
MySQL
What programming language backends need to be changed?
What do you want to change?
In the datatypes docs it says:
Can there be a mode or switch that turns off this assumption? That is: any date/time field is assumed to be textual (
string
or[]byte
) rather than atime.Time{}
?Thanks!
What database engines need to be changed?
MySQL
What programming language backends need to be changed?
Go