In the generated code main_test.go, the makeOptionFile method provides the credentials and params for the db connection, fmt.Fprintf(tmp, "ssl-mode=%s\n", m.sslMode(m.sslmode)) will try to add the ssl ...