studyview

package
v0.0.0-...-7a09d4d Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2018 License: MIT Imports: 0 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button string

Button represents a button displayed on each card face

const (
	ButtonLeft        Button = "button-l"
	ButtonCenterLeft  Button = "button-cl"
	ButtonCenterRight Button = "button-cr"
	ButtonRight       Button = "button-r"
)

The buttons displayed on each card

func (Button) String

func (b Button) String() string

type ButtonMap

type ButtonMap map[Button]ButtonState

ButtonMap is the state of the three answer buttons

type ButtonState

type ButtonState struct {
	Name    string
	Enabled bool
}

ButtonState is one of the four answer buttons.

Jump to

Keyboard shortcuts

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