diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-02-24 00:39:10 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-02-24 00:39:10 +0530 |
commit | 0edca3b2faf545abc065de55a94b87a10ac3f405 (patch) | |
tree | 848aee5cd075f882ca61c9db28f82346db2f702c /anime | |
parent | a815c4ea4aa829dedd2cff7f403788896ee0887d (diff) |
renamed MyListStatus to ListStatus
Diffstat (limited to 'anime')
-rw-r--r-- | anime/README.md | 2 | ||||
-rw-r--r-- | anime/anime.structs.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/anime/README.md b/anime/README.md index 1040dda..e20f080 100644 --- a/anime/README.md +++ b/anime/README.md @@ -75,7 +75,7 @@ if err != nil { fmt.Println(err) } -fmt.Println(anime.Title, anime.MeanScore, anime.MyListStatus.Status) +fmt.Println(anime.Title, anime.MeanScore, anime.ListStatus.Status) ``` - ### Get anime ranking diff --git a/anime/anime.structs.go b/anime/anime.structs.go index f5fd273..039af12 100644 --- a/anime/anime.structs.go +++ b/anime/anime.structs.go @@ -77,7 +77,7 @@ type Anime struct { MediaType string `json:"media_type"` Status string `json:"status"` Genres []u.Genre `json:"genres"` - MyListStatus ListStatus `json:"my_list_status"` + ListStatus ListStatus `json:"my_list_status"` NumEpisodes int `json:"num_episodes"` StartSeason Season `json:"start_season"` Broadcast Broadcast `json:"broadcast"` |