optimised ui

This commit is contained in:
zhuyasen
2023-03-03 20:55:58 +08:00
parent 6a7f0e73be
commit 6be0784808
15 changed files with 17 additions and 13 deletions

View File

@@ -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)
}