Commit ffdea266 authored by Chelsea Holland Komlo's avatar Chelsea Holland Komlo
Browse files

update comment for revised contexts

parent 3319fb58
Showing with 1 addition and 2 deletions
+1 -2
...@@ -13,8 +13,7 @@ func (c *Client) Search() *Search { ...@@ -13,8 +13,7 @@ func (c *Client) Search() *Search {
return &Search{client: c} return &Search{client: c}
} }
// PrefixSearch returns a list of matches for a particular context and prefix. If a // PrefixSearch returns a list of matches for a particular context and prefix.
// context is not specified, matches for all contexts are returned.
func (s *Search) PrefixSearch(prefix string, context contexts.Context) (*SearchResponse, error) { func (s *Search) PrefixSearch(prefix string, context contexts.Context) (*SearchResponse, error) {
var resp SearchResponse var resp SearchResponse
req := &SearchRequest{Prefix: prefix, Context: context} req := &SearchRequest{Prefix: prefix, Context: context}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment