mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add image to common structs
This commit is contained in:
parent
9f6a225caf
commit
c86595d2c6
4 changed files with 14 additions and 42 deletions
14
video.go
14
video.go
|
|
@ -17,18 +17,8 @@ type video struct {
|
|||
SlugTitle string `json:"slug_title"`
|
||||
|
||||
Images struct {
|
||||
PosterTall [][]struct {
|
||||
Height int `json:"height"`
|
||||
Source string `json:"source"`
|
||||
Type string `json:"type"`
|
||||
Width int `json:"width"`
|
||||
} `json:"poster_tall"`
|
||||
PosterWide [][]struct {
|
||||
Height int `json:"height"`
|
||||
Source string `json:"source"`
|
||||
Type string `json:"type"`
|
||||
Width int `json:"width"`
|
||||
} `json:"poster_wide"`
|
||||
PosterTall [][]Image `json:"poster_tall"`
|
||||
PosterWide [][]Image `json:"poster_wide"`
|
||||
} `json:"images"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue