Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contestant ¶
type Contestant struct { Id int `orm:"id,primary" json:"id"` // Tid int `orm:"tid" json:"tid"` // Name string `orm:"name" json:"name"` // Vurl string `orm:"vurl" json:"vurl"` // Sid int `orm:"sid" json:"sid"` // Score float64 `orm:"score" json:"score"` // CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // }
Contestant is the golang structure for table contestant.
type Match ¶
type Match struct { Id int `orm:"id,primary" json:"id"` // Kvurl string `orm:"kvurl" json:"kvurl"` // Title string `orm:"title" json:"title"` // Index string `orm:"index" json:"index"` // Type int `orm:"type" json:"type"` // 1:场内2:场外 CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // }
Match is the golang structure for table match.
type Rule ¶
type Rule struct { Id int `orm:"id,primary" json:"id"` // Title string `orm:"title" json:"title"` // Rules string `orm:"rules" json:"rules"` // Desc string `orm:"desc" json:"desc"` // Imgurl string `orm:"imgurl" json:"imgurl"` // CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // }
Rule is the golang structure for table rule.
type Score ¶
type Score struct { Uid int `orm:"uid,primary" json:"uid"` // Cid int `orm:"cid" json:"cid"` // Rules string `orm:"rules" json:"rules"` // Score float64 `orm:"score" json:"score"` // Comments string `orm:"comments" json:"comments"` // CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // }
Score is the golang structure for table score.
type User ¶
type User struct { Id int `orm:"id,primary" json:"id"` // Name string `orm:"name" json:"name"` // Password string `orm:"password" json:"password"` // Desc string `orm:"desc" json:"desc"` // Tid int `orm:"tid" json:"tid"` // Type int `orm:"type" json:"type"` // 1:场内2:场外 Starttime *gtime.Time `orm:"starttime" json:"starttime"` // Endtime *gtime.Time `orm:"endtime" json:"endtime"` // CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // }
User is the golang structure for table user.
Click to show internal directories.
Click to hide internal directories.