Commit Graph

11 Commits

Author SHA1 Message Date
sean 17bbb5dc07 feat: do not ignore errors in sql and yaml 2023-04-10 21:37:44 +02:00
Dan Markham 017d714532
typeo in the template var 2020-03-16 10:52:02 -07:00
Kiril Vladimiroff 78ada3fc29
Implement Scan with a type switch
This is just a minor (and a bit opinionated) tweak in Scan. While using
the generated Scan method, realized that what's being returned from any
driver I've stumbled upon is actually []byte instead of string, thus
always causing a one failed type assertion on Scan.
2020-03-05 16:18:52 +02:00
marco af72d0db85 bug fix if string instead of []byte is returned from db (this is the
case for postgreSQL)
2016-10-21 15:20:44 +02:00
marco 3e78fe69e0 handle database NULL values 2016-02-11 19:27:29 +01:00
marco 0978fe0e3d fixed bug: Scan used value receiver and not pointer 2016-02-09 13:14:00 +01:00
marco 5ecab372f9 renamed method 2016-02-06 22:27:43 +01:00
marco 0a3314337f fixed bug: return error 2016-02-02 15:40:25 +01:00
marco 9e56f9eb23 removed unnecessary params in function call 2016-01-13 11:50:18 +01:00
marco 42a5bdff6f fixed generated Scan method 2016-01-12 13:05:56 +01:00
marco af7ef17caa implemented Scanner and Valuer interface 2016-01-12 12:37:51 +01:00