aspell

package
v5.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aspell

type Aspell struct {
	Mode         mode       `yaml:"mode"`
	RemoteFile   RemoteFile `yaml:"remote_file"`
	MinLength    int        `yaml:"min_length"`
	IgnoreFiles  []string   `yaml:"ignore_files"`
	AllowedWords []string   `yaml:"allowed"`
	HelpText     string     `yaml:"-"`
}

func New

func New(filename string) (Aspell, error)

func (Aspell) Check

func (a Aspell) Check(subjects []string, commitsFull []string, content []map[string]string) error

type RemoteFile added in v5.1.0

type RemoteFile struct {
	URL             string `yaml:"url"`
	URLEnv          string `yaml:"url_env"`
	HeaderFromENV   string `yaml:"header_from_env"`
	PrivateTokenENV string `yaml:"private_token_env"`
	AllowedItemsKey string `yaml:"allowed_items_key"`
}

Jump to

Keyboard shortcuts

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