]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: link to driver wiki page
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 26 Mar 2013 00:38:51 +0000 (17:38 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 26 Mar 2013 00:38:51 +0000 (17:38 -0700)
Fixes #5127

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/8011044

src/pkg/database/sql/sql.go

index d1f929e7cba9e0f7e352fd7c0e335b6fd6458cf5..236e2c095defb4056b8ac2b2e236f12d6dfccfdf 100644 (file)
@@ -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