mirror of
https://github.com/gogf/gf.git
synced 2025-04-05 11:18:50 +08:00
Merge b567079a9c70b40cc702fc766b8cb2fdd9ba9628 into fee38b4531224b929c095ef643a68a92bbad3d4b
This commit is contained in:
commit
a0a6506324
@ -71,7 +71,7 @@ func generateStructFieldDefinition(
|
||||
err error
|
||||
localTypeName gdb.LocalType
|
||||
localTypeNameStr string
|
||||
jsonTag = gstr.CaseConvert(field.Name, gstr.CaseTypeMatch(in.JsonCase))
|
||||
jsonTag = gstr.CaseConvert(gstr.ToLower(field.Name), gstr.CaseTypeMatch(in.JsonCase))
|
||||
)
|
||||
|
||||
if in.TypeMapping != nil && len(in.TypeMapping) > 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user