Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

fix: wrapped string into slice to pass into List func - #520

Open
Spuxy wants to merge 1 commit into
youtube:masterfrom
Spuxy:master
Open

Spuxy wants to merge 1 commit into
youtube:masterfrom
Spuxy:master

Conversation

@Spuxy

@Spuxy Spuxy commented Jan 17, 2024

Copy link
Copy Markdown

based on this example, there is an error, but it expects slice than simple string

func (r *ChannelsService) List(part []string) *ChannelsListCall {
	c := &ChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
	c.urlParams_.SetMulti("part", append([]string{}, part...))
	return c
}

func accepts slice of string, but the example wants to pass just an string.

channelsListByUsername

CLA i have already created

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant