Open Smilenator opened 3 years ago
same here
The methods utilizing the part
variable have apparently been updated since the sample code was written. These methods are now expecting a slice.
For me, the simplest solution was just to pass in a slice literal instead of a string.
For example, changing:
call := service.Channels.List(part)
To:
call := service.Channels.List([]string{part})
I tried to go by this way: https://developers.google.com/youtube/v3/quickstart/go
When I tried to run the quickstart:
$ go run quickstart.go
I've got the following error:
Thus quickstart.go isn't working.
FYI go.mod info: