Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to add query in `func (s *SearchService) Issues`? #801
I met an issue when I was using this package.
Here is my scene: I need to search merged pr in the last week, I can make it to call url like:
I think in url query is
How to specify query in this case?
I have tested that when query is
Then How to specify query in my case?
Thanks in advance.
See godoc for https://godoc.org/github.com/google/go-github/github#SearchService, it says:
I think the issue is that you're URL-escaping the search query. No need to do that, you should just provide the original unescaped query: