package
0.0.0-20240524155232-b4bf89c7c4ce
Repository: https://github.com/wipdev-tech/pmdb.git
Documentation: pkg.go.dev

# Functions

IsNotFound checks if the error returned form a TMDB API call is a "not found" error.
NewService is the constructor function for creating the TMDB API service.

# Variables

GenreMap maps from genre ID to genre name.

# Structs

MovieCast represents data for a single cast as received from the TMDB API.
MovieCredits represents the cast data received from the TMDB API.
MovieDetails matches the JSON response coming from a call to the Movie Details API endpoint.
NowPlayingMovie matches the JSON structure of a single movie in a NowPlayingRes struct.
NowPlayingRes matches the JSON response coming from a call to the Now Playing API.
Review is a type that extends the DB review data by adding the external TMDB API data needed before rendering.
Service holds the functions needed to consume the TMDB API.