From 7b87871c5f75e14e49c13f9600d50b56c05c810d Mon Sep 17 00:00:00 2001 From: Andy McCall Date: Wed, 11 Dec 2019 18:23:23 -0800 Subject: [PATCH] Updated godoc comment --- zendesk/search.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zendesk/search.go b/zendesk/search.go index 13e94475..0cff9889 100644 --- a/zendesk/search.go +++ b/zendesk/search.go @@ -110,9 +110,9 @@ func (r *SearchResults) List() []interface{} { return r.results } -// GetTriggers fetch trigger list +// Search allows users to query zendesk's unified search api. // -// ref: https://developer.zendesk.com/rest_api/docs/support/triggers#getting-triggers +// ref: https://developer.zendesk.com/rest_api/docs/support/search func (z *Client) Search(ctx context.Context, opts *SearchOptions) (SearchResults, Page, error) { var data struct { Results SearchResults `json:"results"`