The application code is based on a blog published by Emmanuel John.
go run main.go
export PGUSER=<pg user> # defaults to postgres
export PGPASSWORD=<pg password>
export PGSSLMODE=<ssl mode> # defaults to require
export PGHOST=<pg host>
export DBNAME=<db name> # defaults to mydb