Versions in this module Expand all Collapse all v0 v0.1.15 Oct 30, 2024 v0.1.14 Oct 30, 2024 Changes in this version + var ErrAPIResponse = errors.New("duckduckgo api responded with error") + var ErrNoGoodResult = errors.New("no good search results found") + type Client struct + func New(maxResults int, userAgent string) *Client + func (client *Client) Search(ctx context.Context, query string) (string, error) + func (client *Client) SetMaxResults(n int) + type Result struct + Info string + Ref string + Title string