snes

package
v0.0.0-...-a73ff8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

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

func RunIt

func RunIt()

Test in the main

Types

type Page

type Page struct {
	URL           string
	NumberOfGames int
	HTML          *goquery.Document
}

Page defines a page TODO move it centrally

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL