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

Conversation

faizanbashir
Copy link

Fixed error in the service.Search.List parameter as []string value is required.

The code returns the below error:

./search_by_keywords.go:33:30: cannot use "id,snippet" (untyped string constant) as []string value in argument to service.Search.List

I have update the parameter to a []string{"id, snippet"} which has fixed the error.

Fixed error in the service.Search.List parameter as []string value is required
@google-cla
Copy link

google-cla bot commented Oct 23, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant