Help us shape the future of Go! Take the 2026 Go Developer Survey

index

package
v7.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("Record is not found") //nolint:staticcheck
)

Functions

This section is empty.

Types

type FileIndex

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

func NewFileIndex

func NewFileIndex(path string, fs boshsys.FileSystem) FileIndex

func (FileIndex) Find

func (ri FileIndex) Find(key interface{}, value interface{}) error

func (FileIndex) Save

func (ri FileIndex) Save(key interface{}, value interface{}) error

type Index

type Index interface {
	Find(interface{}, interface{}) error
	Save(interface{}, interface{}) error
}

func NewInMemoryIndex

func NewInMemoryIndex() Index

Jump to

Keyboard shortcuts

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