mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-12-24 10:40:55 +08:00
style: adjustment code
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user