Y
Hacker News
new
|
ask
|
show
|
jobs
by
rowanseymour
1073 days ago
My example was a bit simplified but basically the function takes a SQL statement and a slice of structs that use db:column field tags. It's no more doing "weird reflection stuff" than say json.Marshal