Documentation ¶
Overview ¶
Package search implements Google Custom Search.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Title string
}
Context is from Google custom search API JSON result.
type Information ¶ added in v1.0.4
type Information struct { SearchTime float64 FormattedSearchTime string TotalResults string FormattedTotalResults string }
Information is from Google custom search API JSON result.
type Item ¶
type Item struct {
Kind, Title, HTMLTitle string
Link, DisplayLink string
Snippet, HTMLSnippet, CacheID string
FormattedURL, HTMLFormattedURL string
}
Item is from Google custom search API JSON result.
type Page ¶
type Page struct {
Title, TotalResults, SearchTerms string
Count, StartIndex int
InputEncoding, OutputEncoding string
Safe, Cx string
}
Page is from Google custom search API JSON result.
type Queries ¶
type Queries struct {
NextPage, Request []Page
}
Queries is from Google custom search API JSON result.
Click to show internal directories.
Click to hide internal directories.