camelCase

This commit is contained in:
daru
2022-04-17 15:46:04 +02:00
parent 97850725a2
commit 75415f37b5
2 changed files with 53 additions and 51 deletions

View File

@@ -14,32 +14,33 @@ type AnimeUserDetail struct {
}
type Anime struct {
Anime int64 `json:"anime"`
Title string `json:"title"`
TitleEn string `json:"title_en"`
TitleJp string `json:"title_jp"`
ImageMediumURL string `json:"image_medium"`
ImageLargeURL string `json:"image_large"`
ImageThumbURL string `json:"image_thumb"`
Type string `json:"type"`
Status string `json:"status"`
Episodes int `json:"episodes"`
Synopsis string `json:"synopsis"`
Genres []AnimeGenre `json:"genres"`
StartDate time.Time `json:"start_date"`
EndDate time.Time `json:"end_date"`
Year int `json:"year"`
Season string `json:"season"`
Score float64 `json:"score"`
ScoredBy int `json:"scored_by"`
Rank int `json:"rank"`
Popularity int `json:"popularity"`
Members int `json:"members"`
Source string `json:"source"`
DayOfTheWeek string `json:"day_of_the_week"`
StartTime string `json:"start_time"`
Studios []AnimeStudio `json:"studios"`
TrailerURL string `json:"trailer_url"`
Anime int64 `json:"anime"`
Title string `json:"title"`
TitleEn string `json:"titleEn"`
TitleJp string `json:"titleJp"`
ImageMediumURL string `json:"imageMedium"`
ImageLargeURL string `json:"imageLarge"`
ImageThumbURL string `json:"imageThumb"`
Type string `json:"type"`
Status string `json:"status"`
Episodes int `json:"episodes"`
Synopsis string `json:"synopsis"`
Genres []AnimeGenre `json:"genres"`
StartDate time.Time `json:"startDate"`
EndDate time.Time `json:"endDate"`
Year int `json:"year"`
Season string `json:"season"`
Score float64 `json:"score"`
ScoredBy int `json:"scoredBy"`
Rank int `json:"rank"`
Popularity int `json:"popularity"`
Members int `json:"members"`
Source string `json:"source"`
Weekday string `json:"weekday"`
StartTime string `json:"startTime"`
Studios []AnimeStudio `json:"studios"`
TrailerURL string `json:"trailerUrl"`
TrailerEmbedURL string `json:"trailerEmbedUrl"`
}
type AnimeGenre struct {