Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A RESTful Micro-Framework in Go. Parent comment
type Person struct { FirstName string `db:"first_name"` LastName string `db:"last_name"` Email string }
to map columns to structs.
There are no comments on this comment yet.
type Person struct { FirstName string `db:"first_name"` LastName string `db:"last_name"` Email string }
to map columns to structs.