Update def.go

This commit is contained in:
谢小军
2020-08-25 19:09:46 +08:00
parent 8eeea201db
commit 285caffe7a

View File

@@ -32,6 +32,7 @@ var TypeMysqlDicMp = map[string]string{
"mediumtext": "string", "mediumtext": "string",
"longtext": "string", "longtext": "string",
"float": "float32", "float": "float32",
"float unsigned": "float32",
"tinytext": "string", "tinytext": "string",
"enum": "string", "enum": "string",
"time": "time.Time", "time": "time.Time",
@@ -59,4 +60,5 @@ var TypeMysqlMatchMp = map[string]string{
`^(float)[(]\d+,\d+[)]`: "float64", `^(float)[(]\d+,\d+[)]`: "float64",
`^(float)[(]\d+,\d+[)] unsigned`: "float64", `^(float)[(]\d+,\d+[)] unsigned`: "float64",
`^(datetime)[(]\d+[)]`: "time.Time", `^(datetime)[(]\d+[)]`: "time.Time",
`^(bit)[(]\d+[)]`: "[]uint8",
} }