ovgdb

package
v0.8.1-beta Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2015 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotFound = errors.New("hash not found")

Functions

func GetDBPath

func GetDBPath() (string, error)

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func GetDB

func GetDB() (*DB, error)

func (*DB) Close

func (db *DB) Close() error

func (*DB) GetGame

func (db *DB) GetGame(n string) (*Game, error)

type Game

type Game struct {
	ReleaseID string
	RomID     string
	Name      string
	Art       string
	Desc      string
	Developer string
	Publisher string
	Genre     string
	Date      string
	Source    string
	Hash      string
	FileName  string
}

func GameFromSlice

func GameFromSlice(s []string) (*Game, error)

func (*Game) ToSlice

func (g *Game) ToSlice() []string

Jump to

Keyboard shortcuts

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