postgres
Create and populate db
$ createdb pqgotest
$ psql -d pqgotest -a -f populate_db.sql
Test that db was populated:
$ psql pqgotest
pqgotest=# SELECT * FROM places;
name | location
----------+------------------
Snøhetta | (62.3198,9.2677)
(1 row)
Run
$ go run main.go
Successfully connected to pqgotest
The lowest temperature at Snøhetta was -17°C
The lowest temperature at Glittertind was -11°C