diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-03-25 17:38:51 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-03-25 17:38:51 -0700 |
| commit | eee3e636072eadcde0bb9088f4fcb31192bf16d3 (patch) | |
| tree | db17310d73d2c8c304f94f909bf6859a3fd4b327 /src/pkg/database/sql | |
| parent | 209f6b1d2ca84541505c29c6158cde9d5a0bbd57 (diff) | |
| download | go-eee3e636072eadcde0bb9088f4fcb31192bf16d3.tar.xz | |
database/sql: link to driver wiki page
Fixes #5127
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/8011044
Diffstat (limited to 'src/pkg/database/sql')
| -rw-r--r-- | src/pkg/database/sql/sql.go | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
