Versions in this module Expand all Collapse all v0 v0.2.0 Dec 28, 2024 v0.1.0 Dec 27, 2024 Changes in this version + func ShowMovieResults(movies MovieResults) + func ShowTvShowResults(tvShows TvShowResults) + type Episode struct + AirDate string + EpisodeNumber int + ID string + Name string + Overview string + SeasonNumber int + StillURL string + VoteAverage float32 + VoteCount int64 + type Genre struct + ID string + Name string + type Movie struct + ID string + Overview string + PosterURL string + Rating float32 + RatingCount int64 + ReleaseDate string + Title string + Year string + type MovieClient interface + GetMovie func(ctx context.Context, id string) (Movie, error) + GetMovieDetails func(ctx context.Context, id string) (MovieDetails, error) + SearchMovie func(ctx context.Context, query string, year int, page int) (MovieResults, error) + type MovieDetails struct + Cast []Person + Genres []Genre + Runtime int + Studio []Studio + type MovieResults struct + Movies []Movie + ResultsPerPage int64 + Totals int64 + type Person struct + Character string + ID string + Name string + ProfileURL string + type Season struct + AirDate string + EpisodeCount int + PosterURL string + SeasonNumber int + type Status string + const StatusEnded + const StatusReturning + type Studio struct + ID string + Name string + type TvShow struct + FistAirDate string + ID string + Overview string + PosterURL string + Rating float32 + RatingCount int64 + Title string + Year string + type TvShowClient interface + GetEpisode func(ctx context.Context, id string, seasonNumber int, episodeNumber int) (Episode, error) + GetTvShow func(ctx context.Context, id string) (TvShow, error) + GetTvShowDetails func(ctx context.Context, id string) (TvShowDetails, error) + SearchTvShow func(ctx context.Context, query string, year int, page int) (TvShowResults, error) + type TvShowDetails struct + Cast []Person + EpisodeCount int + Genres []Genre + LastEpisode Episode + NextEpisode Episode + SeasonCount int + Seasons []Season + Status Status + Studio []Studio + type TvShowResults struct + ResultsPerPage int64 + Totals int64 + TvShows []TvShow