Skip to content

Commit

Permalink
Merge pull request #38 from hongshaodalao/patch-2
Browse files Browse the repository at this point in the history
Update go_file.py
  • Loading branch information
MikeJinhua authored Jul 31, 2019
2 parents 9ee7143 + d0520f0 commit b4609e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/TableCode/go_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 += \
Expand Down

0 comments on commit b4609e6

Please sign in to comment.