3 PGkebab - Golang wrapper over PostgreSQL driver

github.com godoc.org goreportcard.com posted by miguel 1477 days ago  

PostgreSQL helper, making PostgreSQL as simple as GOlang.


Replace your heavy ORM or dense routines with simple SQL queries

if row, err := db.GetOne("SELECT name, status_id FROM customers WHERE id=$1",customerID); err == nil {
    fmt.Println("The customer", row.String("name"),"has status", row.Int64("status_id"))
}
Register to comment or vote on this story