Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContentTypeVideos = ContentType("videos") ContentTypeShorts = ContentType("shorts") ContentTypeLive = ContentType("live") ContentTypeUndefined = ContentType("") )
Variables ¶
This section is empty.
Functions ¶
func WithContentType ¶
func WithContentType(contentType ContentType) getChannelVideosOption
Types ¶
type ContentType ¶
type ContentType string
type Video ¶
type Video struct { Type string `json:"type"` ID string `json:"id"` Title string `json:"title"` IsLiveNow bool `json:"isLiveNow"` LengthText string `json:"lengthText"` ViewCountText string `json:"viewCountText"` PublishedTimeText string `json:"publishedTimeText"` Thumbnails []Thumbnail `json:"thumbnails"` }
Click to show internal directories.
Click to hide internal directories.