style: adjustment code

This commit is contained in:
zhuyasen
2025-08-21 23:16:15 +08:00
parent ed05939320
commit 793b25eb33
2 changed files with 15 additions and 15 deletions

View File

@@ -406,7 +406,7 @@ func getHandlerGoType(field *tmplField) string {
switch field.rewriterField.goType {
case jsonTypeName:
goType = "string"
case boolTypeName:
case boolTypeName, boolTypeTinyName:
goType = "*bool"
case decimalTypeName:
goType = "string"