Skip to content

Commit 98d20fb

Browse files
committed
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 <[email protected]>
1 parent 62a3f2e commit 98d20fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/database/sql/sql.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -3013,10 +3013,11 @@ func (ci *ColumnType) Nullable() (nullable, ok bool) {
30133013
}
30143014

30153015
// DatabaseTypeName returns the database system name of the column type. If an empty
3016-
// string is returned the driver type name is not supported.
3016+
// string is returned, then the driver type name is not supported.
30173017
// Consult your driver documentation for a list of driver data types. Length specifiers
30183018
// are not included.
3019-
// Common type include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", "BIGINT".
3019+
// Common type names include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL",
3020+
// "INT", and "BIGINT".
30203021
func (ci *ColumnType) DatabaseTypeName() string {
30213022
return ci.databaseType
30223023
}

0 commit comments

Comments
 (0)