]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: fix doc references to old package name
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 14 Feb 2013 02:47:25 +0000 (18:47 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 14 Feb 2013 02:47:25 +0000 (18:47 -0800)
It used to be package "db" but was long ago renamed
to be "sql".

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7322075

src/pkg/database/sql/doc.txt
src/pkg/database/sql/driver/driver.go

index fb165954878c33acd985c039c1ec6512fba586f4..405c5ed2a6136ad32507fd9951ead0ed0ffd2f5e 100644 (file)
@@ -21,7 +21,7 @@ Goals of the sql and sql/driver packages:
   Database Driver -> sql (to register) + sql/driver (implement interfaces)
 
 * Make type casting/conversions consistent between all drivers. To
-  achieve this, most of the conversions are done in the db package,
+  achieve this, most of the conversions are done in the sql package,
   not in each driver. The drivers then only have to deal with a
   smaller set of types.
 
index 7b235b9fbcbdfe076592887dc424883109e07c0a..88c87eeea080cd3544942b519ad923d515b0285c 100644 (file)
@@ -56,7 +56,7 @@ var ErrBadConn = errors.New("driver: bad connection")
 
 // Execer is an optional interface that may be implemented by a Conn.
 //
-// If a Conn does not implement Execer, the db package's DB.Exec will
+// If a Conn does not implement Execer, the sql package's DB.Exec will
 // first prepare a query, execute the statement, and then close the
 // statement.
 //
@@ -67,7 +67,7 @@ type Execer interface {
 
 // Queryer is an optional interface that may be implemented by a Conn.
 //
-// If a Conn does not implement Queryer, the db package's DB.Query will
+// If a Conn does not implement Queryer, the sql package's DB.Query will
 // first prepare a query, execute the statement, and then close the
 // statement.
 //