News for hackers. Stuff that matters.
Re:How We Went All In on sqlc/pgx for Postgres and Go by sshb on Thursday September 09, 2021 @04:52AM (#28467679)
> - Write custom query language (YAML or other), generate SQL schema, queries, and Go query interface (xo).

I've also tried to unify this approach with gRPC/Protobuf messages and CRUD operations: https://github.com/sashabaranov/pike/

Re:How We Went All In on sqlc/pgx for Postgres and Go by sa46 on Thursday September 09, 2021 @05:44PM (#28475036)
One thing I’m pursuing with pggen is serializing DB query results directly to a proto. It’d be super cool to write a sql query and have it spit out a proto and avoid all the boilerplate struct copying.