Generating type-safe Go code from hand-written SQL: https://github.com/kyleconroy/sqlc Really interesting approach, but I wonder if generated code is the right approach? It's certainly IDE friendly.