common

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 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 DateTime

type DateTime struct {
	Date string `json:"date"`
	Time string `json:"time"`
}

DateTime represents common struct containing date and time.

type Genre

type Genre struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
	Type string `json:"type"`
}

Genre represents genre simple model.

type IDImageTitle

type IDImageTitle struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
	Image string `json:"image"`
}

IDImageTitle represents common struct containing id, image, and title.

type IDName

type IDName struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

IDName represents common struct containing id and name.

type IDTitle

type IDTitle struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
}

IDTitle represents common struct containing id and title.

type IDTitleImageRole

type IDTitleImageRole struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
	Image string `json:"image"`
	Role  string `json:"role"`
}

IDTitleImageRole represents common struct containing id, title, image, and role.

type IDTitleType

type IDTitleType struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
	Type  string `json:"type"`
}

IDTitleType represents common struct containing id, title, and type.

type IDTitleTypeImage

type IDTitleTypeImage struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
	Type  string `json:"type"`
	Image string `json:"image"`
}

IDTitleTypeImage represents common struct containing id, title, type, and image.

type IDTypeName

type IDTypeName struct {
	ID   int    `json:"id"`
	Type string `json:"type"`
	Name string `json:"name"`
}

IDTypeName represents common struct containing id, type and name.

Jump to

Keyboard shortcuts

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