Versions in this module Expand all Collapse all v1 v1.1.0 Jan 5, 2023 Changes in this version + func ScrollDownScreen() v1.0.0 Dec 19, 2022 Changes in this version + const Easy + const Hard + const NotRemembered + const Okay + func ClearConsole() + func CompareCategory(category, input string) bool + func FindClosestDate(cards []Card) (time.Time, error) + func PrintJSON(v T) + func ReadEnterInput() + func ReadNumberInput(i, j int) int + func ScrollDownFake() + func WrapLines(s string, lineLength uint) string + type Card struct + Back string + Box uint + Category string + Due time.Time + Front string + type File struct + BoxIntervals []uint + Cards []Card + Path string + func NewFile(path string) File + type Session struct + Category string + ChooseCategories bool + File File + FutureDaysDue uint + NumberCards uint + Sequential bool + ShowCategory bool + TestMode bool + WrapLines uint + func (s *Session) CheckCategory() error + func (s *Session) ChooseCategory() + func (s *Session) PrintNextDueDate() + func (s *Session) ReadFile() error + func (s *Session) Start() + func (s *Session) WriteFile() error + type TestModeResults struct + Easy uint + Hard uint + NotRemembered uint + Okay uint