Skip to content

Commit b4609e6

Browse files
authored
Merge pull request #38 from hongshaodalao/patch-2
Update go_file.py
2 parents 9ee7143 + d0520f0 commit b4609e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/TableCode/go_file.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ def GenGoTableManagerFile(tableName, fieldsIndex, table):
1616

1717
if fieldtype == "int[]":
1818
fieldtype = "[]int"
19+
20+
if fieldtype == "float":
21+
fieldtype = "float32"
1922

2023
fieldName = table.cell(3, index).value
2124
fileContent += \

0 commit comments

Comments
 (0)