59 lines
1.0 KiB
Go
59 lines
1.0 KiB
Go
|
package ytsclient
|
||
|
|
||
|
type Genre string
|
||
|
|
||
|
const (
|
||
|
// Genre Enum
|
||
|
Action Genre = "Action"
|
||
|
Adventure Genre = "Adventure"
|
||
|
Animation Genre = "Animation"
|
||
|
Biography Genre = "Biography"
|
||
|
Comedy Genre = "Comedy"
|
||
|
Crime Genre = "Crime"
|
||
|
Documentary Genre = "Documentary"
|
||
|
Drama Genre = "Drama"
|
||
|
Family Genre = "Family"
|
||
|
Fantasy Genre = "Fantasy"
|
||
|
FilmNoir Genre = "Film Noir"
|
||
|
History Genre = "History"
|
||
|
Horror Genre = "Horror"
|
||
|
Music Genre = "Music"
|
||
|
Musical Genre = "Musical"
|
||
|
Mystery Genre = "Mystery"
|
||
|
Romance Genre = "Romance"
|
||
|
SciFi Genre = "Sci-Fi"
|
||
|
Short Genre = "Short"
|
||
|
Sport Genre = "Sport"
|
||
|
Superhero Genre = "Superhero"
|
||
|
Thriller Genre = "Thriller"
|
||
|
War Genre = "War"
|
||
|
Western Genre = "Western"
|
||
|
)
|
||
|
|
||
|
var Genres = []Genre{
|
||
|
Action,
|
||
|
Adventure,
|
||
|
Animation,
|
||
|
Biography,
|
||
|
Comedy,
|
||
|
Crime,
|
||
|
Documentary,
|
||
|
Drama,
|
||
|
Family,
|
||
|
Fantasy,
|
||
|
FilmNoir,
|
||
|
History,
|
||
|
Horror,
|
||
|
Music,
|
||
|
Musical,
|
||
|
Mystery,
|
||
|
Romance,
|
||
|
SciFi,
|
||
|
Short,
|
||
|
Sport,
|
||
|
Superhero,
|
||
|
Thriller,
|
||
|
War,
|
||
|
Western,
|
||
|
}
|