News for hackers. Stuff that matters.
Re:Qb: Database toolkit for Go by ap0 on Saturday May 14, 2016 @02:03PM (#11697303)
I agree; it's a little tedious to have to write the boilerplate required, but in the end it works fine. I know exactly what queries my code is running rather than potentially being surprised by what a package/framework may be doing.

The biggest irritation I have is dealing with null values, but the built-in null types in the SQL package are adequate, and there are packages that make them play nice with JSON as well. JSON and array types in Postgres can also be a little cumbersome, but the database packages I've tried don't seem to properly handle them anyway.

Re:Qb: Database toolkit for Go by hellcow on Saturday May 14, 2016 @02:29PM (#11697428)
An alternative to Go's SQL null types is simply using pointers, like `*string` instead of `sql.NullString`. Pointers function in the same way, except they marshal into JSON very nicely.