Versions in this module Expand all Collapse all v1 v1.1.13 Aug 1, 2022 Changes in this version + var ErrUnsupportedVideoURL = errors.New("error: unsupported video url") + type Importer interface + GetVideoInfo func(url string) (VideoInfo, error) + func NewImporter(url string) (Importer, error) + type VideoInfo struct + Description string + ID string + ThumbnailURL string + Title string + VideoURL string + type VimeoImporter struct + func (i *VimeoImporter) GetVideoInfo(url string) (videoInfo VideoInfo, err error) + type YoutubeImporter struct + func (i *YoutubeImporter) GetVideoInfo(url string) (videoInfo VideoInfo, err error)