Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SupportedCountries = []string{} /* 242 elements not displayed */ SupportedLanguages = []string{"ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hr", "hu", "id", "is", "it", "iw", "ja", "ko", "lt", "lv", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sr", "sv", "tr", "zh-CN", "zh-TW"} SupportedImageSizes = []string{"huge", "icon", "large", "medium", "small", "xlarge", "xxlarge"} SupportedImageTypes = []string{"clipart", "face", "lineart", "stock", "photo", "animated"} SupportedImageDominantColors = []string{"black", "blue", "brown", "gray", "green", "pink", "purple", "teal", "white", "yellow"} SupportedImageColorTypes = []string{"color", "gray", "mono", "trans"} )
List sources: countries: https://developers.google.com/custom-search/docs/json_api_reference#countryCollections everything else: https://developers.google.com/custom-search/v1/reference/rest/v1/cse/list#request
Functions ¶
func SearchImage ¶
func SearchImage(input string) (common.ImageSearchResults, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.