databoard-transform/database.go

22 lines
400 B
Go
Raw Normal View History

2020-12-09 09:43:47 +00:00
package main
import (
"time"
)
// Database mysql数据结构
// type Database struct {
// engine *gorm.DB
// T struct {
// CountLiveAnchors *gorm.DB
// }
// }
2020-12-09 09:43:47 +00:00
// CountLiveAnchors count_live_anchors
type CountLiveAnchors struct {
UID string `gorm:"uid"`
CreateAt time.Time `gorm:"create_at"`
IsCounted int `gorm:"is_counted"`
CountMap string `gorm:"count_map"`
2020-12-09 09:43:47 +00:00
}