Documentation
¶
Index ¶
- func EditCards(filename string, cfg *internal.Config) ([]*card.Card, error)
- func ReadCardsFromFile(filename string) ([]*card.Card, error)
- func ReadCardsFromReader(r io.Reader, f string) []*card.Card
- func ReadOutcomesFromFile(filename string) []*meta.Outcome
- func ReadOutcomesFromReader(r io.Reader) []*meta.Outcome
- func ReadPredictsFromFile(filename string) []*meta.Predict
- func ReadPredictsFromReader(r io.Reader) []*meta.Predict
- func WriteOutcomesToFile(l []*meta.Outcome, filename string) error
- func WriteOutcomesToString(l []*meta.Outcome) string
- func WritePredictsToFile(l []*meta.Predict, filename string) error
- func WritePredictsToString(l []*meta.Predict) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadCardsFromFile ¶
Open opens filename and loads cards into new deck
func ReadOutcomesFromFile ¶
Open filename and loads cards into new deck
func ReadPredictsFromFile ¶
Open filename and loads cards into new deck
func WriteOutcomesToFile ¶
TODO: clean me up please.
func WriteOutcomesToString ¶
func WritePredictsToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.