Documentation
¶
Index ¶
Constants ¶
View Source
const Host string = "https://vimm.net"
TODO move it centrally Host without trailing slash at the end
Variables ¶
View Source
var SnesRom []Rom // Build an array that will have numberOfGames elements from type Rom
Functions ¶
Types ¶
type Rom ¶
type Rom struct {
Title string `json:"title"`
Link string `json:"link"`
DownloadLink string `json:"download_link"`
Filename string `json:"filename"`
Image string `json:"image"`
Quality string `json:"quality"`
Hack string `json:"hack"`
Console string `json:"console"`
Filesize string `json:"filesize"`
Genre string `json:"genre"`
Downloads string `json:"downloads"`
Rating string `json:"rating"`
Players int `json:"players"`
Year int `json:"year"`
Publisher string `json:"publisher"`
Manual string `json:"manual"`
}
Rom defines a typical game card has to start with capital letter or the Marshal won't work in JSON
Click to show internal directories.
Click to hide internal directories.