match

package
v4.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImportWordsFromGoFile

func GetImportWordsFromGoFile(filename string) []string

func MatchFilter

func MatchFilter(file, filter string) bool

MatchFilter checks if a file matches a filter.

Parameters:

  • file: the file to be checked.
  • filter: the filter to be matched against the file.

Returns:

  • bool: true if the file matches the filter, false otherwise.
  • error: an error if there was a problem during the matching process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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