package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Sep 6, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Error struct {
Code int16 `json:"code"`
Message string `json:"Message"`
}
type MovieDetail struct {
Homepage string `json:"homepage"`
Id int32 `json:"id"`
ImdbId string `json:"imdb_id"`
OriginalLanguage string `json:"original_language"`
OriginalTitle string `json:"original_title"`
Overview string `json:"overview"`
Popularity float32 `json:"popularity"`
PosterPath string `json:"poster_path"`
}
type PopularMovies struct {
Page int `json:"page"`
TotalResults int16 `json:"total_results"`
TotalPages int `json:"total_pages"`
Results []Results `json:"results"`
}
type ResponseDetail struct {
Code int16
Message string
}
type Results struct {
Popularity float32 `json:"popularity"`
VoteCount int16 `json:"vote_count"`
Video bool `json:"video"`
PosterPath string `json:"poster_path"`
Title string `json:"title"`
VoteAverage float32 `json:"vote_average"`
Id int32 `json:"id"`
Overview string `json:"overview"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.