Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Err3LettersSearch will throw if search query string is less than 3 letters. Err3LettersSearch = errors.New("search query needs at least 3 letters") // ErrInvalidMainType will throw if not a valid type. ErrInvalidMainType = errors.New("invalid type") // ErrInvalidSeason will throw if value is not a valid season name. ErrInvalidSeason = errors.New("invalid season name") // ErrMissingRedis will throw if redis client is nil. ErrMissingRedis = errors.New("missing redis client") )
Functions ¶
This section is empty.
Types ¶
type IDImageTitle ¶
type IDImageTitle struct { ID int `json:"id"` Title string `json:"title"` Image string `json:"image"` }
IDImageTitle represents common struct containing id, image, and title.
type IDTitleImageRole ¶
type IDTitleImageRole struct { ID int `json:"id"` Title string `json:"title"` Image string `json:"image"` Role string `json:"role"` }
IDTitleImageRole represents common struct containing id, title, image, and role.
type IDTitleType ¶
type IDTitleType struct { ID int `json:"id"` Title string `json:"title"` Type string `json:"type"` }
IDTitleType represents common struct containing id, title, and type.
type IDTitleTypeImage ¶
type IDTitleTypeImage struct { ID int `json:"id"` Title string `json:"title"` Type string `json:"type"` Image string `json:"image"` }
IDTitleTypeImage represents common struct containing id, title, type, and image.
type IDTypeName ¶
IDTypeName represents common struct containing id, type and name.
Click to show internal directories.
Click to hide internal directories.