filter

package
v0.0.0-...-16eb04b Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.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