Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorageInfo ¶
type YoutubeResponse ¶
type YoutubeResponse struct {
Kind string `json:"kind"`
Etag string `json:"etag"`
Items []struct {
Kind string `json:"kind"`
Etag string `json:"etag"`
ID string `json:"id"`
Snippet struct {
PublishedAt time.Time `json:"publishedAt"`
ChannelID string `json:"channelId"`
Title string `json:"title"`
Description string `json:"description"`
Thumbnails struct {
Default struct {
URL string `json:"url"`
Width int `json:"width"`
Height int `json:"height"`
} `json:"default"`
Medium struct {
URL string `json:"url"`
Width int `json:"width"`
Height int `json:"height"`
} `json:"medium"`
High struct {
URL string `json:"url"`
Width int `json:"width"`
Height int `json:"height"`
} `json:"high"`
Standard struct {
URL string `json:"url"`
Width int `json:"width"`
Height int `json:"height"`
} `json:"standard"`
Maxres struct {
URL string `json:"url"`
Width int `json:"width"`
Height int `json:"height"`
} `json:"maxres"`
} `json:"thumbnails"`
ChannelTitle string `json:"channelTitle"`
Tags []string `json:"tags"`
CategoryID string `json:"categoryId"`
LiveBroadcastContent string `json:"liveBroadcastContent"`
DefaultLanguage string `json:"defaultLanguage"`
Localized struct {
Title string `json:"title"`
Description string `json:"description"`
} `json:"localized"`
DefaultAudioLanguage string `json:"defaultAudioLanguage"`
} `json:"snippet"`
ContentDetails struct {
Duration string `json:"duration"`
Dimension string `json:"dimension"`
Definition string `json:"definition"`
Caption string `json:"caption"`
LicensedContent bool `json:"licensedContent"`
ContentRating struct {
} `json:"contentRating"`
Projection string `json:"projection"`
} `json:"contentDetails"`
} `json:"items"`
PageInfo struct {
TotalResults int `json:"totalResults"`
ResultsPerPage int `json:"resultsPerPage"`
} `json:"pageInfo"`
}
Click to show internal directories.
Click to hide internal directories.