From 5b91e0df7404cc375b5d0e7833e75aeb1e52750e Mon Sep 17 00:00:00 2001 From: 15ho Date: Wed, 17 Mar 2021 14:40:58 +0800 Subject: [PATCH] fix #112 --- data/view/cnf/def.go | 1 + 1 file changed, 1 insertion(+) diff --git a/data/view/cnf/def.go b/data/view/cnf/def.go index d9b6531..695b5d0 100644 --- a/data/view/cnf/def.go +++ b/data/view/cnf/def.go @@ -75,4 +75,5 @@ var TypeMysqlMatchList = []struct { {`^(bit)[(]\d+[)]`, "[]uint8"}, {`^(text)[(]\d+[)]`, "string"}, {`^(integer)[(]\d+[)]`, "int"}, + {`^(timestamp)[(]\d+[)]`, "time.Time"}, }