Let\'s say I have a struct:
type User struct { Name string Id int Score int }
And a database table with the same schema. Wh
there's package just for that: sqlstruct
unfortunately, last time I checked it did not support embedded structs (which are trivial to implement yourself - i had a working prototype in a few hours).
just committed the changes I made to sqlstruct