Documentation
¶
Index ¶
- type ReviewConfidence
- type SRS
- func (s *SRS) CheckOrCreateCard(cardID string, deck *storage.Deck) *SRSCard
- func (s *SRS) GetReviewCards(numCards int) []storage.Flashcard
- func (s *SRS) LoadCardsFromMarkdown(deckDir string) error
- func (s *SRS) LoadSRSFromFile() error
- func (s *SRS) SaveSRSToFile() error
- func (s *SRS) UpdateSRSData(deck *storage.Deck, cardID string, outcome int)
- type SRSCard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReviewConfidence ¶
type ReviewConfidence int
const ( EasyReviewConfidence ReviewConfidence = iota MediumReviewConfidence HardReviewConfidence )
type SRS ¶
type SRS struct { Cards []*SRSCard // contains filtered or unexported fields }
func (*SRS) CheckOrCreateCard ¶
func (*SRS) LoadCardsFromMarkdown ¶
func (*SRS) LoadSRSFromFile ¶
func (*SRS) SaveSRSToFile ¶
Click to show internal directories.
Click to hide internal directories.