app

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const RepoURL = "https://raw.githubusercontent.com/nvdajp/nvdajp/alphajp"

Variables

View Source
var DictionaryFilePaths = []string{}/* 126 elements not displayed */

Functions

func Version

func Version() string

Version returns a version of this package.

Types

type App

type App struct {
	HomeDir string
	// contains filtered or unexported fields
}

func New

func New() (*App, error)

func (*App) DownloadDictionaryFile

func (a *App) DownloadDictionaryFile(repoURL *url.URL, path string) error

func (*App) DownloadDictionaryFiles

func (a *App) DownloadDictionaryFiles(repoURL *url.URL, paths ...string) error

func (*App) Find

func (a *App) Find(r rune) string

func (*App) LoadDictionaryFile

func (a *App) LoadDictionaryFile(path string) error

func (*App) LoadDictionaryFiles

func (a *App) LoadDictionaryFiles() error

func (*App) SetDebug added in v1.2.0

func (a *App) SetDebug(logger *log.Logger)

func (*App) SetLanguages

func (a *App) SetLanguages(languages []string)

Jump to

Keyboard shortcuts

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