mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-04 00:16:25 +08:00
optimised ui
This commit is contained in:
@@ -722,6 +722,10 @@ func goTypeToProto(fields []tmplField) []tmplField {
|
||||
field.GoType = "uint32"
|
||||
case "time.Time":
|
||||
field.GoType = "int64"
|
||||
case "float32":
|
||||
field.GoType = "float"
|
||||
case "float64":
|
||||
field.GoType = "double"
|
||||
}
|
||||
newFields = append(newFields, field)
|
||||
}
|
||||
|
Reference in New Issue
Block a user