Documentation ¶
Index ¶
Constants ¶
View Source
const ( StNormal = iota StWorking StStop )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Experiment ¶
type Experiment struct { ID uint `gorm:"Column:id;PRIMARY_KEY"` Name string `gorm:"Column:name;UNIQUE_INDEX:uniq_name;NOT NULL;Size:150"` UniqKey string `gorm:"Column:uniq_key;UNIQUE_INDEX:uniq_key;NOT NULL;Size:40"` LayerID uint `gorm:"Column:layer_id;NOT NULL;default:0;Index:idx_layer_id"` LayerUsed uint `gorm:"Column:layer_used;NOT NULL;default:0"` Groups string `gorm:"Column:groups;Type:longtext"` CurrentStatus uint `gorm:"Column:current_status;NOT NULL;DEFAULT:0"` BeginTime time.Time `gorm:"Column:begin_time"` EndTime time.Time `gorm:"Column:end_time"` CreatedAt time.Time `gorm:"Column:created_at"` UpdatedAt time.Time `gorm:"Column:updated_at"` }
Experiment struct
type Layer ¶
type Layer struct { ID uint `gorm:"Column:id;PRIMARY_KEY"` Name string `gorm:"Column:name;NOT NULL;UNIQUE_INDEX:uniq_name;Size:150"` Left uint `gorm:"Column:left;NOT NULL;DEFAULT:0"` CreatedAt time.Time `gorm:"Column:created_at"` UpdatedAt time.Time `gorm:"Column:updated_at"` }
Layer struct
Click to show internal directories.
Click to hide internal directories.