Documentation ¶
Index ¶
- type Video
- func AddDuration(videos []*Video, v uint64) []*Video
- func AddHeight(videos []*Video, v uint64) []*Video
- func AddReleaseDate(videos []*Video, v *time.Time) []*Video
- func AddSecureURL(videos []*Video, v string) []*Video
- func AddTag(videos []*Video, v string) []*Video
- func AddType(videos []*Video, v string) []*Video
- func AddURL(videos []*Video, v string) []*Video
- func AddWidth(videos []*Video, v uint64) []*Video
- func NewVideo() *Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Video ¶
type Video struct { URL string `json:"url,omitempty"` SecureURL string `json:"secure_url,omitempty"` Type string `json:"type,omitempty"` Width uint64 `json:"width,omitempty"` Height uint64 `json:"height,omitempty"` Actors []*actor.Actor `json:"actors,omitempty"` Directors []string `json:"directors,omitempty"` Writers []string `json:"writers,omitempty"` Duration uint64 `json:"duration,omitempty"` ReleaseDate *time.Time `json:"release_date,omitempty"` Tags []string `json:"tags,omitempty"` }
Video defines Open Graph Video type
func AddDuration ¶
func AddSecureURL ¶
Click to show internal directories.
Click to hide internal directories.