Go 1.19 go fmt
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user