tags

package
v0.0.0-...-bc5a6c4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedQuery

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

ParsedQuery represents a parsed query.

func Parse

func Parse(query string) ParsedQuery

Parse parses the query to extract tags.

func (ParsedQuery) GetTags

func (p ParsedQuery) GetTags(tags ...string) []string

GetTags collects the tag values for all the given tag names.

func (ParsedQuery) GetWords

func (p ParsedQuery) GetWords() string

GetWords returns the parts of the query that were not parsed as tags.

Jump to

Keyboard shortcuts

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