diff --git a/code/rest/footprint_model.go b/code/rest/footprint_model.go index 4c68f04..fe0566e 100644 --- a/code/rest/footprint_model.go +++ b/code/rest/footprint_model.go @@ -2,9 +2,9 @@ package rest import "time" -/** - * visit record. - */ +// Footprint /** +// Mysql 5.5 only support one CURRENT_TIMESTAMP +// so we use 2018-01-01 00:00:00 as default, which is the first release date of EyeblueTank type Footprint struct { Uuid string `json:"uuid" gorm:"type:char(36);primary_key;unique"` Sort int64 `json:"sort" gorm:"type:bigint(20) not null"` diff --git a/code/rest/install_model.go b/code/rest/install_model.go index fed60ef..d4b6585 100644 --- a/code/rest/install_model.go +++ b/code/rest/install_model.go @@ -1,8 +1,7 @@ package rest -/** - * table meta info. - */ +// InstallTableInfo /** +// table meta info. type InstallTableInfo struct { Name string `json:"name"` TableExist bool `json:"tableExist"`