discover

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoFiles

func GoFiles(ctx context.Context, opts Options) ([]string, error)

GoFiles returns Go source files under Root after applying built-in excludes and optional gitignore-style patterns.

Types

type Options

type Options struct {
	Root            string
	UseGitignore    bool
	ExtraExcludes   []string
	IncludeTestdata bool
}

Options controls Go source file discovery.

Jump to

Keyboard shortcuts

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