Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Film ¶
type Film struct {
BaseModel
Starships []Identity `json:"starships"`
Vehicles []Identity `json:"vehicles"`
Planets []Identity `json:"planets"`
Producer string `json:"producer"`
Title string `json:"title"`
Episode Identity `json:"episode"`
Director string `json:"director"`
OpeningCrawl string `json:"opening_crawl"`
Characters []Identity `json:"characters"`
Species []Identity `json:"species"`
}
type Person ¶
type Person struct {
BaseModel
Name string `json:"name"`
Gender Gender `json:"gender"`
SkinColor string `json:"skin_color"`
HairColor string `json:"hair_color"`
Height string `json:"height"`
EyeColor string `json:"eye_color"`
Mass string `json:"mass"`
Homeworld Identity `json:"homeworld"`
BirthYear string `json:"birth_year"`
}
type Planet ¶
type Planet struct {
BaseModel
Climate string `json:"climate"`
Name string `json:"name"`
Diameter string `json:"diameter"`
RotationPeriod string `json:"rotation_period"`
Terrain string `json:"terrain"`
Gravity string `json:"gravity"`
OrbitalPeriod string `json:"orbital_period"`
Population string `json:"population"`
}
type Specie ¶
type Specie struct {
BaseModel
Classification string `json:"classification"`
Designation string `json:"designation"`
EyeColors string `json:"eye_colors"`
People []Identity `json:"people"`
SkinColors string `json:"skin_colors"`
Language string `json:"language"`
Homeworld *Identity `json:"homeworld"`
AverageLifespan string `json:"average_lifespan"`
AverageHeight string `json:"average_height"`
}
type Transport ¶
type Transport struct {
BaseModel
Consumables string `json:"consumables"`
Name string `json:"name"`
CargoCapacity string `json:"cargo_capacity"`
Passengers string `json:"passengers"`
MaxAtmospheringSpeed string `json:"max_atmosphering_speed"`
Crew string `json:"crew"`
Length string `json:"length"`
Model string `json:"model"`
CostInCredits string `json:"cost_in_credits"`
Manufacturer string `json:"manufacturer"`
}
Click to show internal directories.
Click to hide internal directories.