Go 1.19 go fmt

pull/1278/head
Jack Christensen 2022-08-06 06:20:50 -05:00
parent 7ad36f386d
commit f3e04b28cc
4 changed files with 17 additions and 15 deletions

View File

@ -58,6 +58,7 @@ func (f LoggerFunc) Log(ctx context.Context, level LogLevel, msg string, data ma
// LogLevelFromString converts log level string to constant // LogLevelFromString converts log level string to constant
// //
// Valid levels: // Valid levels:
//
// trace // trace
// debug // debug
// info // info

View File

@ -213,6 +213,7 @@ func ConnectConfig(ctx context.Context, config *Config) (*Pool, error) {
// cancellation // cancellation
// see https://github.com/jackc/pgx/issues/1259 // see https://github.com/jackc/pgx/issues/1259
ctx = detachedCtx{ctx} ctx = detachedCtx{ctx}
connConfig := p.config.ConnConfig connConfig := p.config.ConnConfig
if p.beforeConnect != nil { if p.beforeConnect != nil {