From eee3e636072eadcde0bb9088f4fcb31192bf16d3 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 25 Mar 2013 17:38:51 -0700 Subject: [PATCH] database/sql: link to driver wiki page Fixes #5127 R=golang-dev, adg CC=golang-dev https://golang.org/cl/8011044 --- src/pkg/database/sql/sql.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pkg/database/sql/sql.go b/src/pkg/database/sql/sql.go index d1f929e7cb..236e2c095d 100644 --- a/src/pkg/database/sql/sql.go +++ b/src/pkg/database/sql/sql.go @@ -4,6 +4,9 @@ // Package sql provides a generic interface around SQL (or SQL-like) // databases. +// +// The sql package must be used in conjunction with a database driver. +// See http://golang.org/s/sqldrivers for a list of drivers. package sql import ( @@ -325,7 +328,9 @@ func (db *DB) removeDepLocked(x finalCloser, dep interface{}) func() error { // database name and connection information. // // Most users will open a database via a driver-specific connection -// helper function that returns a *DB. +// helper function that returns a *DB. No database drivers are included +// in the Go standard library. See http://golang.org/s/sqldrivers for +// a list of third-party drivers. // // Open may just validate its arguments without creating a connection // to the database. To verify that the data source name is valid, call -- 2.50.0