subseq

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LEVEL1 = "/"
	LEVEL2 = "-_0123456789"
	LEVEL3 = "."
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	Positions []int
	Score     float64

	Text string
	// contains filtered or unexported fields
}

func ScoreItems

func ScoreItems(query string, items []string, opts Options) []*Match

type Options

type Options struct {
	Level1, Level2, Level3 string
	NumberOfThreads        int
}

Jump to

Keyboard shortcuts

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