From 179f34fad211f4d96ed447fff4404d6d8d35bd31 Mon Sep 17 00:00:00 2001 From: lishuang Date: Tue, 15 Mar 2022 02:21:41 +0800 Subject: [PATCH] Refine some comments. --- code/rest/footprint_model.go | 6 +++--- code/rest/install_model.go | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) 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"`