package models import "time" type Played struct { Song int } type VersionData struct { Version string `json:"version"` Changelog string `json:"changelog"` History []VersionData `json:"history"` } type SongInfo struct { Game string `json:"Game"` GamePlayed int `json:"GamePlayed"` Song string `json:"Song"` SongPlayed int `json:"SongPlayed"` CurrentlyPlaying bool `json:"CurrentlyPlaying"` SongNo int `json:"SongNo"` } type GameData struct { Id int GameName string Added time.Time Deleted time.Time LastChanged time.Time Path string TimesPlayed int LastPlayed time.Time NumberOfSongs int32 } type SongData struct { GameId int SongName string Path string TimesPlayed int }