playlist

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*playlist)

func WithChannelId

func WithChannelId(channelId string) Option

func WithDescription

func WithDescription(description string) Option

func WithHl

func WithHl(hl string) Option

func WithID

func WithID(id string) Option

func WithLanguage

func WithLanguage(language string) Option

func WithMaxResults

func WithMaxResults(maxResults int64) Option

func WithMine

func WithMine(mine bool, changed bool) Option

func WithOnBehalfOfContentOwner

func WithOnBehalfOfContentOwner(contentOwner string) Option

func WithOnBehalfOfContentOwnerChannel

func WithOnBehalfOfContentOwnerChannel(channel string) Option

func WithPrivacy

func WithPrivacy(privacy string) Option

func WithService

func WithService(svc *youtube.Service) Option

func WithTags

func WithTags(tags []string) Option

func WithTitle

func WithTitle(title string) Option

type Playlist

type Playlist interface {
	List([]string, string)
	Insert(output string)
	Update(output string)
	Delete()
	// contains filtered or unexported methods
}

func NewPlaylist

func NewPlaylist(opts ...Option) Playlist

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL