mamedb

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: MIT Imports: 7 Imported by: 12

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
	CloneOf   string
}

Game represents a game response from mamedb.

func GetGame

func GetGame(ctx context.Context, 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