Merge pull request #168 from studyzhanglei/fix/smallint2int16

fix:let  smallint into int16
master
xxj 3 years ago committed by GitHub
commit b379e2aada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,8 @@ var TypeMysqlMatchList = []struct {
{`^(blob)[(]\d+[)]`, "[]byte"},
{`^(binary)[(]\d+[)]`, "[]byte"},
{`^(decimal)[(]\d+,\d+[)]`, "float64"},
{`^(mediumint)[(]\d+[)]`, "string"},
{`^(mediumint)[(]\d+[)]`, "int16"},
{`^(mediumint)[(]\d+[)] unsigned`, "uint16"},
{`^(double)[(]\d+,\d+[)]`, "float64"},
{`^(float)[(]\d+,\d+[)]`, "float64"},
{`^(datetime)[(]\d+[)]`, "time.Time"},

Loading…
Cancel
Save