diff --git a/Tools/TableCode/go_file.py b/Tools/TableCode/go_file.py index 9f23185..2558d95 100644 --- a/Tools/TableCode/go_file.py +++ b/Tools/TableCode/go_file.py @@ -16,6 +16,9 @@ def GenGoTableManagerFile(tableName, fieldsIndex, table): if fieldtype == "int[]": fieldtype = "[]int" + + if fieldtype == "float": + fieldtype = "float32" fieldName = table.cell(3, index).value fileContent += \