]> Cypherpunks.ru repositories - gostls13.git/commitdiff
database/sql: form a complete sentence in code comment
authorKevin Burke <kev@inburke.com>
Wed, 22 Apr 2020 17:22:12 +0000 (10:22 -0700)
committerKevin Burke <kev@inburke.com>
Fri, 8 May 2020 02:31:13 +0000 (02:31 +0000)
Change-Id: Ib6d0f81b5f64473f9ee6be26a08d5102e8edadc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/229477
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
src/database/sql/sql.go

index 374dd98b00f9467e9d0f230f9ad7b88bac39795f..b3d0653f5c6c6e52f2bee2d4b49c76579d9dd521 100644 (file)
@@ -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
 }