Documentation
¶
Index ¶
Constants ¶
View Source
const DeckDIR = ".mdsrs/decks"
Variables ¶
This section is empty.
Functions ¶
func EnsureDecksDir ¶
func EnsureDecksDir() error
func GenerateID ¶
func GenerateID() string
Types ¶
type Deck ¶
type Deck struct { Name string `json:"name"` Cards []Flashcard `json:"cards"` DirPath string `json:"-"` SRS `json:"-"` }
func LoadAllDecks ¶
func (*Deck) AddOrUpdateCard ¶
Click to show internal directories.
Click to hide internal directories.