target

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Members category = "members"
	Artists category = "artists"
	Media   category = "media"
	Ratings category = "ratings"
	Studios category = "studios"
	Genres  category = "genres"
	// aka everything. Default in buildIndexMapping switch
	Union category = "union"
)

Variables

This section is empty.

Functions

func FromStr

func FromStr(s string) category

we already have a ValidateCategory method, no need to return error here

func ValidateCategory

func ValidateCategory(s string) bool

Types

type Category

type Category interface {
	String() string
}

Jump to

Keyboard shortcuts

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