GoRacerr/race.go

23 lines
587 B
Go
Raw Normal View History

2024-08-30 12:36:47 +07:00
package main
type Race struct {
2024-08-30 18:02:07 +07:00
ID int64 `json:"id"`
2024-08-30 12:36:47 +07:00
TorrentName string `json:"torrentname"`
Category string `json:"category"`
Indexer string `json:"indexer"`
Type string `json:"type"`
Title string `json:"title"`
Season string `json:"season"`
Episode string `json:"episode"`
Year string `json:"year"`
Resolution string `json:"resolution"`
Source string `json:"source"`
TorrentURL string `json:"torrenturl"`
Won bool `json:"won"`
PreRace bool `json:"prerace"`
}
2024-08-30 18:02:07 +07:00
func NewRace() *Race {
return &Race{}
2024-08-30 12:36:47 +07:00
}