Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrVideoNotFound = errors.New("video not found")
Functions ¶
func EnableYouTubeAPI ¶
func IsYouTubeLink ¶
Types ¶
type VideoInfo ¶
type VideoInfo struct { URL string `json:"url"` Platform string `json:"platform"` ID string `json:"video_id"` Title string `json:"video_title"` Duration time.Duration `json:"video_duration"` ChannelID string `json:"channel_id"` ChannelName string `json:"channel_name"` ChannelHandle string `json:"channel_handle,omitempty"` Thumbnail string `json:"thumbnail"` LinkedChannels []string `json:"linked_channels,omitempty"` LinkedVideos []string `json:"linked_videos,omitempty"` HashTags []string `json:"hashtags,omitempty"` }
Click to show internal directories.
Click to hide internal directories.