mamedb

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("rom not found")

ErrNotFound is returned when a game is not found.

Functions

This section is empty.

Types

type Game

type Game struct {
	ID        string
	Name      string
	Title     string
	Snap      string
	Marquee   string
	Cabinet   string
	Developer string
	Rating    float64
	Players   int64
	Genre     string
	Date      string
	Source    string
}

Game represents a game response from mamedb.

func GetGame

func GetGame(name string) (*Game, error)

GetGame gets a game from mamedb.

Jump to

Keyboard shortcuts

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