1 2 3 4 5 6 7 8 9 10 11 12
package api import "time" type photoResponse struct { ID string `json:"id"` DateTaken time.Time `json:"dateTaken"` Width int `json:"width"` Height int `json:"height"` ThumbnailURL string `json:"thumbnail"` PhotoURL string `json:"photo"` }