tags

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package tags implements tag-based filtering.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

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

Filter holds a compiled tag filter.

func CompileFilter

func CompileFilter(filter string) (*Filter, error)

CompileFilter compiles a tag filter.

func (*Filter) Apply

func (filter *Filter) Apply(tags []string) bool

Apply applies a tag filter to a slice of tags.

Jump to

Keyboard shortcuts

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