types

package
v0.0.0-...-3a881fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Movie

type Movie struct {
	Title       string   `json:"title"`
	Shortname   string   `json:"shortname"`
	Description string   `json:"description"`
	Genre       []string `json:"genre"`
	Rating      string   `json:"rating"`
	Language    string   `json:"language"`
	Cast        []struct {
		Name string `json:"name"`
		Role string `json:"role"`
	} `json:"cast"`
	Crew struct {
		Director []string `json:"director"`
		Producer []string `json:"producer"`
		Writer   []string `json:"writer"`
	} `json:"crew"`
	Distributor []string `json:"distributor"`
	BoxOffice   struct {
		Budget uint `json:"budget"`
		Gross  struct {
			Us        uint `json:"us"`
			Worldwide uint `json:"worldwide"`
		} `json:"gross"`
		OpeningWeekend struct {
			Us        uint `json:"us"`
			Worldwide uint `json:"worldwide"`
		} `json:"openingWeekend"`
	} `json:"boxOffice"`
	Release struct {
		Year  uint `json:"year"`
		Month uint `json:"month"`
		Day   uint `json:"day"`
	} `json:"release"`
	CountryOfOrigin []string `json:"countryOfOrigin"`
	Runtime         struct {
		Hours   uint `json:"hours"`
		Minutes uint `json:"minutes"`
		Seconds uint `json:"seconds"`
	} `json:"runtime"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL