index

package
v0.0.0-...-703489d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIndexingFailed = errors.New("indexing failed")

ErrIndexingFailed when indexing failed.

Functions

This section is empty.

Types

type Index

type Index struct {
	Files []string
}

Index can index files to collect Go tags from them.

func (*Index) Tags

func (i *Index) Tags(ctx context.Context) ([]string, error)

Tags will search files for Go build tags.

Jump to

Keyboard shortcuts

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