history

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Load loads history.csv in memory

func Push

func Push(g Game)

Push pushes a game onto the stack

func Save

func Save() error

Save persists the history as a csv file

Types

type Game

type Game struct {
	Path      string // Absolute path of the game on the filesystem
	Name      string // Human readable name of the game, comes from the RDB
	System    string
	CorePath  string
	Savestate string // Absolute path of the last savestate on this game
}

Game represents a game in the history file

type History

type History []Game

History is a list of games

var List History

List is the list of recently played games

Jump to

Keyboard shortcuts

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