bq

package
v0.0.0-...-84ff7b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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(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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL