(t testing.TB, connString string)
| 33 | } |
| 34 | |
| 35 | func mustParseConfig(t testing.TB, connString string) *pgx.ConnConfig { |
| 36 | config, err := pgx.ParseConfig(connString) |
| 37 | require.Nil(t, err) |
| 38 | return config |
| 39 | } |
| 40 | |
| 41 | func mustConnect(t testing.TB, config *pgx.ConnConfig) *pgx.Conn { |
| 42 | conn, err := pgx.ConnectConfig(context.Background(), config) |
no outgoing calls
no test coverage detected