Home / Companies / Aiven / Blog / Post Details
Content Deep Dive

Aiven for PostgreSQL® for your Go application

Blog post from Aiven

Post Details
Company
Date Published
Author
Lorna Mitchell
Word Count
1,462
Language
English
Hacker News Points
1
Summary

This post discusses how to connect a Go application with PostgreSQL using the pgx library, which is a PostgreSQL-specific alternative to database/sql. It also introduces Squirrel, an SQL query builder for Go that provides a more elegant and manageable way of building SQL queries compared to hardcoded strings. The author uses open data from the Kepler space mission to demonstrate how to connect to a PostgreSQL database, run queries, and build fluid interfaces with Squirrel.