practice

package
v0.0.0-...-519aebc Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPracExtent

func NewPracExtent(f string, restudyInterval map[int]int) (pracExtent, error)

func Run

func Run(config *idictconfig.Config, fs afero.Fs, options Options, uistarter func(string) error) func(*cobra.Command, []string) error

func Start

func Start(config *idictconfig.Config) func(string) error

func ValidateCli

func ValidateCli(config *idictconfig.Config, fs afero.Fs, options Options) func(*cobra.Command, []string) error

Types

type NextMsg

type NextMsg struct {
	// contains filtered or unexported fields
}

type Options

type Options struct {
	Proxy *string
}

type PracModel

type PracModel struct {
	Words []string
	// contains filtered or unexported fields
}

func (*PracModel) Init

func (m *PracModel) Init() tea.Cmd

func (*PracModel) PracView

func (m *PracModel) PracView() string

func (*PracModel) Update

func (m *PracModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*PracModel) View

func (m *PracModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL