tag

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 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 Tag

type Tag int

Tag represents allowed tags in a search query. The tags in the query should be followed by a colon character. Only NameString tag is allowed to have more than one word.

For example `g:Hom. sp:sapiens`, `n:Homo sapiens`

const (
	AllMatches Tag = iota
	Author
	DataSourceIDs
	ParentTaxon
	Year
	NameString
	Genus
	Species
	SpeciesAny
	SpeciesInfra
)

func (Tag) String

func (t Tag) String() string

String returns a string representation of a tag.

Jump to

Keyboard shortcuts

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