Versions in this module Expand all Collapse all v0 v0.0.2 Jan 9, 2024 v0.0.1 Sep 26, 2023 Changes in this version + type Client struct + func New() (*Client, error) + func NewWithHTTPClient(hc *http.Client) (*Client, error) + func NewWithKey(apiKey string) (*Client, error) + func (c *Client) ById(ctx context.Context, ids ...string) (chan *ResultsPage, error) + func (c *Client) MostPopular(ctx context.Context, param *SearchParam) (chan *ResultsPage, error) + func (c *Client) Search(ctx context.Context, param *SearchParam) (chan *SearchPage, error) + type ResultsPage struct + Err error + Index uint64 + Items []*youtube.Video + type SearchPage struct + Err error + Index uint64 + Items []*youtube.SearchResult + type SearchParam struct + MaxPage uint64 + MaxRequestedItems uint64 + MaxResultsPerPage uint64 + PageToken string + Query string + RelatedToVideoId string