Update def.go
add geometry for mysql 5.7
This commit is contained in:
@@ -76,4 +76,5 @@ var TypeMysqlMatchList = []struct {
|
|||||||
{`^(text)[(]\d+[)]`, "string"},
|
{`^(text)[(]\d+[)]`, "string"},
|
||||||
{`^(integer)[(]\d+[)]`, "int"},
|
{`^(integer)[(]\d+[)]`, "int"},
|
||||||
{`^(timestamp)[(]\d+[)]`, "time.Time"},
|
{`^(timestamp)[(]\d+[)]`, "time.Time"},
|
||||||
|
{`^(geometry)[(]\d+[)]`, "[]byte"},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user