hugo-medialog/internal/games/model.go

22 lines
588 B
Go
Raw Normal View History

2024-10-09 11:12:44 +02:00
package games
2024-10-08 21:08:01 +02:00
2024-10-09 11:12:44 +02:00
type Game struct {
2024-10-08 21:08:01 +02:00
Title string `yaml:"title"`
2024-10-10 20:03:49 +02:00
Platform string `yaml:"platform"`
ID int `yaml:"igdb_id"`
2024-10-08 21:08:01 +02:00
Link string `yaml:"link"`
2024-10-10 20:03:49 +02:00
Slug string `yaml:"slug"`
2024-10-08 21:08:01 +02:00
Subtitle string `yaml:"subtitle"`
2024-10-10 20:03:49 +02:00
Year string `yaml:"year"`
2024-10-08 21:08:01 +02:00
Rate float64 `yaml:"rate"`
Progress string `yaml:"progress"`
Image string `yaml:"image"`
Poster string `yaml:"poster-image"`
Background string `yaml:"background-image"`
Date string `yaml:"date"`
New bool `yaml:"new"`
2024-10-08 21:08:01 +02:00
Tags []string
}
2024-10-09 11:12:44 +02:00
type Games []Game