fuzzy

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Include

type Include func(score, low, high int) bool

type Index

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

func NewIndex

func NewIndex(fuzzyLength int, items []string) *Index

func (*Index) Search

func (i *Index) Search(q string, include Include) []int

Jump to

Keyboard shortcuts

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