Here's an example: http://godoc.org/github.com/jmoiron/sqlx, corresponding doc.go: https://github.com/jmoiron/sqlx/blob/master/doc.go