opton to option (#4035)

This commit is contained in:
linden-in-China
2024-04-03 22:15:21 +08:00
committed by GitHub
parent 2d3ebb9b62
commit 6f3d094eba

View File

@@ -41,7 +41,7 @@ func RawFieldNames(in any, postgreSql ...bool) []string {
out = append(out, fmt.Sprintf("`%s`", fi.Name)) out = append(out, fmt.Sprintf("`%s`", fi.Name))
} }
default: default:
// get tag name with the tag opton, e.g.: // get tag name with the tag option, e.g.:
// `db:"id"` // `db:"id"`
// `db:"id,type=char,length=16"` // `db:"id,type=char,length=16"`
// `db:",type=char,length=16"` // `db:",type=char,length=16"`