From 4a123572d55ad3b0104d3e6501eef5b2f37af4cd Mon Sep 17 00:00:00 2001 From: Brad Erickson Date: Thu, 28 May 2020 12:29:27 -0700 Subject: [PATCH] database/sql/driver: use correct method name "Connect" in DriverContext docs --- src/database/sql/driver/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/sql/driver/driver.go b/src/database/sql/driver/driver.go index 99fbd431be7..5bbcf20db2f 100644 --- a/src/database/sql/driver/driver.go +++ b/src/database/sql/driver/driver.go @@ -96,7 +96,7 @@ type Driver interface { // If a Driver implements DriverContext, then sql.DB will call // OpenConnector to obtain a Connector and then invoke -// that Connector's Conn method to obtain each needed connection, +// that Connector's Connect method to obtain each needed connection, // instead of invoking the Driver's Open method for each connection. // The two-step sequence allows drivers to parse the name just once // and also provides access to per-Conn contexts.