Skip to content

Commit

Permalink
Fix map: bigint -> int64
Browse files Browse the repository at this point in the history
  • Loading branch information
ainilili committed Jul 15, 2019
1 parent 2436b41 commit 7352f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table2struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var typeForMysqlToGo = map[string]string{
"tinyint unsigned": "int",
"smallint unsigned": "int",
"mediumint unsigned": "int",
"bigint unsigned": "int",
"bigint unsigned": "int64",
"bit": "int",
"bool": "bool",
"enum": "string",
Expand Down

0 comments on commit 7352f1a

Please sign in to comment.