diff options
| author | Andrew Bonventre <andybons@golang.org> | 2018-03-26 18:58:53 -0400 |
|---|---|---|
| committer | Andrew Bonventre <andybons@golang.org> | 2018-03-26 23:12:45 +0000 |
| commit | 165ebe65585ec7ae63695fab9e7aabaaad1af57c (patch) | |
| tree | 8243340310c53fc5748eaa00e4a641f383c33e12 /src/database/sql | |
| parent | 48db2c01b42d959f2d8fa0c24d853bdb6100cf8a (diff) | |
| download | go-165ebe65585ec7ae63695fab9e7aabaaad1af57c.tar.xz | |
database/sql: fix docs to correctly refer to time.RFC3339Nano
It mentions time.Format3339Nano, which isn’t defined. The
underlying code uses time.RFC3339Nano.
Updates golang/go#24542
Change-Id: Ia34ae8b66427139d9005f902c2eb60aac4bfa8c6
Reviewed-on: https://go-review.googlesource.com/102607
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql')
| -rw-r--r-- | src/database/sql/sql.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 784ffac26d..088e118df7 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -2856,7 +2856,7 @@ func rowsColumnInfoSetupConnLocked(rowsi driver.Rows) []*ColumnType { // // Source values of type time.Time may be scanned into values of type // *time.Time, *interface{}, *string, or *[]byte. When converting to -// the latter two, time.Format3339Nano is used. +// the latter two, time.RFC3339Nano is used. // // Source values of type bool may be scanned into types *bool, // *interface{}, *string, *[]byte, or *RawBytes. |
