Golang + pgbouncer + postgresql

If you try to connect from go to pgbouncer you may see error message “pq: SSL is not enabled on the server” although when you connect directly into postgresql everything is working. If so you have possibilities: enable SSL on pgbouncer...

Golang installation

There are several ways how to install golang: https://github.com/golang/go/wiki/Ubuntu sudo apt-get install golang-go on Ubuntu 16.04 you may need to add repo: sudo add-apt-repository ppa:longsleep/golang-backports sudo apt-get update sudo apt-get install golang-go...