Trying to communicate with a postgres database with go, preparing the statement like this:
var stmt *sql.Stmt var err error stmt, err = db.Prepare(selectStateme
You should establish DB connection without SSL encryption, like that:
db, err := sql.Open("postgres", "user=test password=test dbname=test sslmode=disable")