You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types.go
+107-4Lines changed: 107 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -69,15 +69,14 @@ type PaginatedResultsMeta struct {
69
69
70
70
// Season represents a TV show season with details such as air date, episode count, name, overview, poster path, season number, vote average, and associated show ID.
71
71
typeSeasonstruct {
72
-
AirDatestring`json:"air_date"`
73
-
EpisodeCountint`json:"episode_count"`
74
72
IDint64`json:"id"`
75
73
Namestring`json:"name"`
76
74
Overviewstring`json:"overview"`
77
75
PosterPathstring`json:"poster_path"`
76
+
VoteAveragefloat32`json:"vote_average"`
77
+
AirDatestring`json:"air_date"`
78
78
SeasonNumberint`json:"season_number"`
79
-
VoteAveragefloat32`json:"vote_average,omitempty"`
80
-
ShowIDint64`json:"show_id,omitempty"`
79
+
EpisodeCountint`json:"episode_count"`
81
80
}
82
81
83
82
// LastEpisodeToAir represents the details of the most recently aired episode of a TV show.
0 commit comments