This example uses the pq library to connect to PostgreSQL and perform a simple query.
go get github.com/lib/pq
Note: You can retrieve the Service URI from the Aiven Console overview tab.
go run main.go -service-uri postgres://<user>:<password>@<host>:<port>/<database>?<options>