2
0

Remove unused config field

This commit is contained in:
Jack Christensen
2019-04-13 18:15:02 -05:00
parent 57b149e8e9
commit 1b7ff4d774
+2 -3
View File
@@ -27,9 +27,8 @@ const (
// ConnConfig contains all the options used to establish a connection. // ConnConfig contains all the options used to establish a connection.
type ConnConfig struct { type ConnConfig struct {
pgconn.Config pgconn.Config
Logger Logger Logger Logger
LogLevel LogLevel LogLevel LogLevel
CustomConnInfo func(*Conn) (*pgtype.ConnInfo, error) // Callback function to implement connection strategies for different backends. crate, pgbouncer, pgpool, etc.
} }
// Conn is a PostgreSQL connection handle. It is not safe for concurrent usage. // Conn is a PostgreSQL connection handle. It is not safe for concurrent usage.