modelResp

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Token string `json:"token"`
}

type DetailMovie

type DetailMovie struct {
	Title      string    `json:"title"`
	Year       string    `json:"year"`
	Rated      string    `json:"rated"`
	Released   string    `json:"released"`
	Runtime    string    `json:"runtime"`
	Genre      string    `json:"genre"`
	Director   string    `json:"director"`
	Writer     string    `json:"writer"`
	Actors     string    `json:"actors"`
	Plot       string    `json:"plot"`
	Language   string    `json:"language"`
	Country    string    `json:"country"`
	Awards     string    `json:"awards"`
	Poster     string    `json:"poster"`
	Ratings    []Ratings `json:"ratings"`
	MetaScore  string    `json:"meta_score"`
	ImdbRating string    `json:"imdb_rating"`
	ImdbVotes  string    `json:"imdb_votes"`
	ImdbID     string    `json:"imdb_id"`
	Type       string    `json:"type"`
	DVD        string    `json:"dvd"`
	BoxOffice  string    `json:"box_office"`
	Production string    `json:"production"`
	Website    string    `json:"website"`
}

type Items

type Items struct {
	Title   string `json:"title"`
	Year    string `json:"year"`
	MovieID string `json:"movie_id"`
	Types   string `json:"types"`
	Poster  string `json:"poster"`
}

type ListMovie

type ListMovie struct {
	Items []Items `json:"items"`
	Total int64   `json:"total"`
}

type Ratings

type Ratings struct {
	Source string `json:"source"`
	Value  string `json:"value"`
}

type User

type User struct {
	ID        int64  `json:"id"`
	Email     string `json:"email"`
	Token     string `json:"token"`
	Status    int    `json:"status"`
	CreatedAt string `json:"created_at"`
	CreatedBy string `json:"created_by"`
}

Jump to

Keyboard shortcuts

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