filter

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadForCmd

func LoadForCmd(cmd *cobra.Command, opts *Options)

Types

type FilterFn

type FilterFn func(id int, dic *dictionary.Dictionary) bool

func MaxCount

func MaxCount(v int) FilterFn

func MinCount

func MinCount(v int) FilterFn

type Options

type Options struct {
	MaxCount int
	MinCount int
}

func DefaultOption

func DefaultOption() *Options

Jump to

Keyboard shortcuts

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