Documentation ¶ Index ¶ Variables func CreateService(ctx context.Context, opts ...option.ClientOption) error func QueryVideoId(ctx context.Context, artist, title string) (string, error) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNotConnected = errors.New("not connected to YouTube") ErrNoVideos = errors.New("search returned no videos") ErrNoMatches = errors.New("no search results matched video metadata") ErrNoId = errors.New("search result missing video ID") ) Functions ¶ func CreateService ¶ added in v0.3.0 func CreateService(ctx context.Context, opts ...option.ClientOption) error func QueryVideoId ¶ func QueryVideoId(ctx context.Context, artist, title string) (string, error) Types ¶ This section is empty. Source Files ¶ View all Source files youtube.go Click to show internal directories. Click to hide internal directories.