1
0
mirror of https://github.com/golang/go synced 2024-11-20 07:54:39 -07:00

database/sql: fix Conn's doc typo

Fixes #21798

Change-Id: Ided31a8b22c220acdeb3938cac41ce8db9a110c3
Reviewed-on: https://go-review.googlesource.com/62290
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
Davor Kapsa 2017-09-08 12:59:59 +02:00 committed by Emmanuel Odeke
parent caae0917bf
commit e16dc7d5a9

View File

@ -1493,7 +1493,7 @@ func (db *DB) Conn(ctx context.Context) (*Conn, error) {
type releaseConn func(error)
// Conn represents a single database session rather a pool of database
// Conn represents a single database session rather than a pool of database
// sessions. Prefer running queries from DB unless there is a specific
// need for a continuous single database session.
//