matcher

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StructMatcher

type StructMatcher interface {
	Match(structName string) bool
}

func NewAlwaysTrueStructMatcher

func NewAlwaysTrueStructMatcher() StructMatcher

func NewStructMatcherDecorator

func NewStructMatcherDecorator(first, second StructMatcher) StructMatcher

type StructMatcherBuilder

type StructMatcherBuilder interface {
	AddRegexpMatches(matches ...string) StructMatcherBuilder
	AddRegexpExcludes(excludes ...string) StructMatcherBuilder
	Build() StructMatcher
}

func NewBuilder

func NewBuilder() StructMatcherBuilder

Jump to

Keyboard shortcuts

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