tagger

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher struct {
	// contains filtered or unexported fields
}

func (*Matcher) Add

func (m *Matcher) Add(tags []string)

func (*Matcher) Match

func (m *Matcher) Match(tag string) bool

type Tagger

type Tagger interface {
	Match(tag string) bool
	Add(tags []string)
}

func NewMatcher

func NewMatcher(tags []string) Tagger

Jump to

Keyboard shortcuts

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