Documentation ¶ Index ¶ type Quote func Search(words []string, pages int) ([]Quote, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Quote ¶ type Quote struct { Author, Text string } Quote contains the extracted quote data func Search ¶ func Search(words []string, pages int) ([]Quote, error) Search returns an array of quotes and can be constrained to only retrieve a set number of pages worth of results, if a page returns no quotes the function breaks out of the loop and returns all quotes found so far. Source Files ¶ View all Source files bq.go Click to show internal directories. Click to hide internal directories.