add time type

This commit is contained in:
astaxie 2014-08-27 12:01:13 +08:00
parent d0c36db1ca
commit 5ec39d71ed
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ var typeMappingMysql = map[string]string{
"date": "time.Time", // time
"datetime": "time.Time",
"timestamp": "time.Time",
"time": "time.Time",
"float": "float32", // float & decimal
"double": "float64",
"decimal": "float64",