diff options
author | Kevin Burke <kev@inburke.com> | 2020-04-22 10:22:12 -0700 |
---|---|---|
committer | Kevin Burke <kev@inburke.com> | 2020-05-08 02:31:13 +0000 |
commit | 98d20fb23551a7ab900fcfe9d25fd9cb6a98a07f (patch) | |
tree | 9f537ecbfa22a4518e2f58007ecf170005d87f2b /src/database | |
parent | 62a3f2e27c7732656bb3ae8f14047b74a9956e77 (diff) | |
download | go-98d20fb23551a7ab900fcfe9d25fd9cb6a98a07f.tar.gz go-98d20fb23551a7ab900fcfe9d25fd9cb6a98a07f.zip |
database/sql: form a complete sentence in code comment
Change-Id: Ib6d0f81b5f64473f9ee6be26a08d5102e8edadc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/229477
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/sql/sql.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 374dd98b00..b3d0653f5c 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -3013,10 +3013,11 @@ func (ci *ColumnType) Nullable() (nullable, ok bool) { } // DatabaseTypeName returns the database system name of the column type. If an empty -// string is returned the driver type name is not supported. +// string is returned, then the driver type name is not supported. // Consult your driver documentation for a list of driver data types. Length specifiers // are not included. -// Common type include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", "BIGINT". +// Common type names include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", +// "INT", and "BIGINT". func (ci *ColumnType) DatabaseTypeName() string { return ci.databaseType } |