package model type ShutterStockParams string const ( AspectRatio ShutterStockParams = "aspect_ratio" AspectRatioMax ShutterStockParams = "aspect_ratio_max" AspectRatioMin ShutterStockParams = "aspect_ratio_min" WidthFrom ShutterStockParams = "width_from" WidthTo ShutterStockParams = "width_to" Query ShutterStockParams = "query" HeightFrom ShutterStockParams = "height_from" HeightTo ShutterStockParams = "height_to" ) type ImgSearchReq struct { AspectRatio float64 `json:"aspect_ratio"` AspectRatioMax float64 `json:"aspect_ratio_max"` AspectRatioMin float64 `json:"aspect_ratio_min"` WidthFrom int `json:"width_from"` WidthTo int `json:"width_to"` HeightFrom int `json:"height_from"` HeightTo int `json:"height_to"` Query string `json:"query"` } type ImgSearchResp struct { Data []ImgSearchData `json:"data"` } type ImgSearchData struct { ID string `json:"id"` }