databoard-transform/database.go

22 lines
400 B
Go

package main
import (
"time"
)
// Database mysql数据结构
// type Database struct {
// engine *gorm.DB
// T struct {
// CountLiveAnchors *gorm.DB
// }
// }
// 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"`
}