From 4a39ab9be8a4b7eb1f4585e30f89cdb3aa86197c Mon Sep 17 00:00:00 2001 From: ls Date: Tue, 17 Sep 2019 18:17:45 +0800 Subject: [PATCH] Update def.go "date": "time.Time", "datetime": "time.Time", --- data/view/gtools/def.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/view/gtools/def.go b/data/view/gtools/def.go index 498591f..6db34ec 100644 --- a/data/view/gtools/def.go +++ b/data/view/gtools/def.go @@ -11,6 +11,8 @@ var TypeDicMp = map[string]string{ "bigint": "int64", "varchar": "string", "char": "string", + "decimal(18,2)": "float64", + "date": "time.Time", "datetime": "time.Time", "bit(1)": "bool", "tinyint(1)": "bool",