Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEdit error = errors.New("edit card")
View Source
var ErrExit error = errors.New("exit study session")
View Source
var StyleDefault tcell.Style
Functions ¶
This section is empty.
Types ¶
type StudySession ¶
func (StudySession) Run ¶
func (ss StudySession) Run() (string, error)
Runs a study session. If err is ErrExit, the user requested to quit the study session and save changes to cards. If err is ErrEdit, the user wants to edit the card whose ID is included in the first argument.
Click to show internal directories.
Click to hide internal directories.