Refine some comments.

This commit is contained in:
lishuang 2022-03-15 02:21:41 +08:00
parent 161096fbb2
commit 179f34fad2
2 changed files with 5 additions and 6 deletions

View File

@ -2,9 +2,9 @@ package rest
import "time" import "time"
/** // Footprint /**
* visit record. // 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 { type Footprint struct {
Uuid string `json:"uuid" gorm:"type:char(36);primary_key;unique"` Uuid string `json:"uuid" gorm:"type:char(36);primary_key;unique"`
Sort int64 `json:"sort" gorm:"type:bigint(20) not null"` Sort int64 `json:"sort" gorm:"type:bigint(20) not null"`

View File

@ -1,8 +1,7 @@
package rest package rest
/** // InstallTableInfo /**
* table meta info. // table meta info.
*/
type InstallTableInfo struct { type InstallTableInfo struct {
Name string `json:"name"` Name string `json:"name"`
TableExist bool `json:"tableExist"` TableExist bool `json:"tableExist"`