mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 16:30:01 +08:00
opton to option (#4035)
This commit is contained in:
@@ -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"`
|
||||||
|
|||||||
Reference in New Issue
Block a user