Documentation
¶
Index ¶
- func RegisterDefault()
- type Matcher
- func (m *Matcher) ConfigPatterns() []string
- func (m *Matcher) ExtractImports(ctx context.Context, content []byte) []string
- func (m *Matcher) Languages() []domain.Language
- func (m *Matcher) MatchImport(importPath string) bool
- func (m *Matcher) Name() string
- func (m *Matcher) ParseConfig(content []byte) *matchers.ConfigInfo
- func (m *Matcher) Priority() int
- type Strategy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDefault ¶
func RegisterDefault()
Types ¶
type Matcher ¶ added in v1.1.0
type Matcher struct{}
func (*Matcher) ConfigPatterns ¶ added in v1.1.0
func (*Matcher) ExtractImports ¶ added in v1.1.0
func (*Matcher) MatchImport ¶ added in v1.1.0
func (*Matcher) ParseConfig ¶ added in v1.1.1
func (m *Matcher) ParseConfig(content []byte) *matchers.ConfigInfo
Click to show internal directories.
Click to hide internal directories.