При запуске кода Postgresql выдает ошибку
dial tcp [::1]:5432: connectex: No connection could be made because the target machine actively refused it.
postgres: host=localhost post=5432 dbname=auth_test sslmode=disable
библиотека в го: github.com/lib/pq