Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	GamesJsonFile = "games.json"
)
    Variables ¶
This section is empty.
Functions ¶
func GetMpGames ¶
Types ¶
type FullGameDetail ¶
type FullGameDetail struct {
	Name            string   `json:"name"`
	Id              int      `json:"id"`
	BackgroundImage string   `json:"background_image"`
	Metacritic      int      `json:"metacritic"`
	Released        string   `json:"released"`
	Platforms       []string `json:"platforms"`
	Genres          []string `json:"genres"`
	Players         int      `json:"players"`
}
    FullGameDetail is a more detailed metadata that is needed for TeamUp.
type GamesList ¶
type GamesList []FullGameDetail
func (GamesList) Get ¶
func (l GamesList) Get(name string) (d *FullGameDetail)
 Click to show internal directories. 
   Click to hide internal directories.