list

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFile

func ParseFile(file io.Reader) ([]string, error)

Types

type Lister

type Lister struct {
	Items  []string
	Mather func(s, i string) bool
}

func New

func New(items []string, matcher func(s, i string) bool) *Lister

func (*Lister) Has

func (l *Lister) Has(i string) bool

func (*Lister) Insert

func (l *Lister) Insert(s string) error

Jump to

Keyboard shortcuts

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