mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
opton to option (#4035)
This commit is contained in:
parent
2d3ebb9b62
commit
6f3d094eba
@ -41,7 +41,7 @@ func RawFieldNames(in any, postgreSql ...bool) []string {
|
||||
out = append(out, fmt.Sprintf("`%s`", fi.Name))
|
||||
}
|
||||
default:
|
||||
// get tag name with the tag opton, e.g.:
|
||||
// get tag name with the tag option, e.g.:
|
||||
// `db:"id"`
|
||||
// `db:"id,type=char,length=16"`
|
||||
// `db:",type=char,length=16"`
|
||||
|
Loading…
Reference in New Issue
Block a user