list

package
v0.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFile

func ParseFile(file string) ([]string, error)

Types

type List

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

func New

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

func (*List) Has

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

func (*List) Insert

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

Jump to

Keyboard shortcuts

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