mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
database/sql: Fix typos in doc
R=golang-dev CC=bradfitz, golang-dev https://golang.org/cl/17590043
This commit is contained in:
parent
2ee03b5e59
commit
e6c4fa58b5
2 changed files with 3 additions and 3 deletions
|
|
@ -140,8 +140,8 @@ type Stmt interface {
|
|||
}
|
||||
|
||||
// ColumnConverter may be optionally implemented by Stmt if the
|
||||
// the statement is aware of its own columns' types and can
|
||||
// convert from any type to a driver Value.
|
||||
// statement is aware of its own columns' types and can convert from
|
||||
// any type to a driver Value.
|
||||
type ColumnConverter interface {
|
||||
// ColumnConverter returns a ValueConverter for the provided
|
||||
// column index. If the type of a specific column isn't known
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ type DB struct {
|
|||
connRequests *list.List // of connRequest
|
||||
numOpen int
|
||||
pendingOpens int
|
||||
// Used to sygnal the need for new connections
|
||||
// Used to signal the need for new connections
|
||||
// a goroutine running connectionOpener() reads on this chan and
|
||||
// maybeOpenNewConnections sends on the chan (one send per needed connection)
|
||||
// It is closed during db.Close(). The close tells the connectionOpener
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue