Use AnimeID type

This commit is contained in:
2019-06-07 10:50:38 +09:00
parent a3f04fbd2f
commit 18a7be18d2
12 changed files with 41 additions and 35 deletions

View File

@ -11,7 +11,7 @@ import (
// AnimeEpisodes is a list of episodes for an anime.
type AnimeEpisodes struct {
AnimeID string `json:"animeId" mainID:"true"`
AnimeID AnimeID `json:"animeId" mainID:"true"`
Items []*AnimeEpisode `json:"items" editable:"true"`
sync.Mutex