Remove unused config field

pull/483/head
Jack Christensen 2019-04-13 18:15:02 -05:00
parent 57b149e8e9
commit 1b7ff4d774
1 changed files with 2 additions and 3 deletions

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.