ankiconnect

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnkiConfig

type AnkiConfig struct {
	DeckName, ModelName string
	MaxItems            int
}

type CardData

type CardData struct {
	Sentence, Example, Definition, DeckName, ModelName string
	UUID                                               uuid.UUID
}

func (CardData) InsertCard

func (c CardData) InsertCard(url string) error

type SentenceCards

type SentenceCards struct {
	Cards    []CardData
	Error    error
	Sentence string
}

func CreateCardDataMatrix

func CreateCardDataMatrix(sentences []string, config AnkiConfig) []SentenceCards

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳