libsql-client-go
libsql-client-go copied to clipboard
Support Marshal/Unmarshal JSON Byte Slice - HTTP driver
Currently If you use the HTTP driver, you will get this error if you try to marshal a struct field to JSON byte slice or unmarshal JSON byte slice into a struct field. The error looks like this
sql: Scan error on column index 9, name \"genres\": unsupported Scan, storing driver.Value type map[string]interface {} into type *[]uint8
You won't get the above error if you use the WS driver