google

package
v0.0.0-...-bafbf86 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(apiKey string, searchEngineID string) isearcher.Searcher

Init new search

Types

type Search struct {
	// contains filtered or unexported fields
}

Search - init and use search engine.

func (Search) MaxResponseItemsCount

func (s Search) MaxResponseItemsCount() int

MaxResponseItemsCount - max number of images that could be returned by single query

func (Search) SearchImage

func (s Search) SearchImage(query string, searchDepth int) []string

SearchImage - search for a query string, returns as max as searchDepth value

Jump to

Keyboard shortcuts

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