Add unsplash image proxy for images and thumbnails
This commit is contained in:
parent
c685250c96
commit
a0fb8bd32d
4 changed files with 88 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ import (
|
|||
type Image struct {
|
||||
ID string `json:"id"`
|
||||
URL string `json:"url"`
|
||||
Thumb string `json:"thumb"`
|
||||
Thumb string `json:"thumb,omitempty"`
|
||||
// This can be used to supply extra information from an image provider to clients
|
||||
Info interface{} `json:"info,omitempty"`
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue