tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
166 stars 23 forks source link

Support time.Time #67

Closed p0isonra1n closed 10 months ago

p0isonra1n commented 11 months ago

I am not sure if this is the best way to handle it but it allowed me to use Turso with GORM. I know libSQL does not have a datetime/timestamp type so this change probably does not make sense but I thought I would send it just in case it is wanted.

penberg commented 10 months ago

@haaawk review ping

haaawk commented 10 months ago

@p0isonra1n Thank you for your contribution. I'm afraid that this is not a correct way to deal with the problem though. I uploaded an alternative approach here -> https://github.com/libsql/libsql-client-go/pull/77 Please let me know if it fixes the problem for you.