filter

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LegacyOptions deprecated

type LegacyOptions struct {
	Suffix        []string // include .go
	ExcludeSuffix []string // exclude _test.go

	ExcludePath []string // exclude vendor/
}

Deprecated: use Options instead

func (*LegacyOptions) Match

func (c *LegacyOptions) Match(file string) bool

type Options

type Options struct {
	Suffix        []string // include .go
	ExcludeSuffix []string // exclude _test.go

	Include []string
	Exclude []string
}

func (*Options) MatchSuffix

func (c *Options) MatchSuffix(file string) bool

Jump to

Keyboard shortcuts

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