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 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.