2
0

Use Go 1.20's link syntax for ParseConfig

This commit is contained in:
Alexey Palazhchenko
2023-07-27 17:47:11 +04:00
committed by Jack Christensen
parent f4533dc906
commit 8fb309c631
6 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ func ParseConfigWithOptions(connString string, options ParseConfigOptions) (*Con
return connConfig, nil
}
// ParseConfig creates a ConnConfig from a connection string. ParseConfig handles all options that pgconn.ParseConfig
// ParseConfig creates a ConnConfig from a connection string. ParseConfig handles all options that [pgconn.ParseConfig]
// does. In addition, it accepts the following options:
//
// - default_query_exec_mode.