From 384ceed8c6126c6489960fc10c92305b99e2a0e3 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Sat, 19 Feb 2022 16:52:41 +0800 Subject: [PATCH] Fix typo --- migrator/column_type.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrator/column_type.go b/migrator/column_type.go index 98b08e35..eb8d1b7f 100644 --- a/migrator/column_type.go +++ b/migrator/column_type.go @@ -96,12 +96,12 @@ func (ct ColumnType) ScanType() reflect.Type { return ct.SQLColumnType.ScanType() } -// Comment returns the comment of curent column. +// Comment returns the comment of current column. func (ct ColumnType) Comment() (value string, ok bool) { return ct.CommentValue.String, ct.CommentValue.Valid } -// DefaultValue returns the default value of curent column. +// DefaultValue returns the default value of current column. func (ct ColumnType) DefaultValue() (value string, ok bool) { return ct.DefaultValueValue.String, ct.DefaultValueValue.Valid }