refactor: remove unreachable jikan client functions

This commit is contained in:
2026-05-12 12:34:41 +02:00
parent 211777815c
commit 5d55edf9b8
5 changed files with 0 additions and 168 deletions

View File

@@ -69,15 +69,3 @@ func (c *Client) GetAllEpisodes(ctx context.Context, animeID int) ([]Episode, er
return result, nil
}
// GetEpisodesRange fetches episodes from startPage to endPage sequentially.
func (c *Client) GetEpisodesRange(ctx context.Context, animeID int, startPage, endPage int) ([]Episode, error) {
var all []Episode
for page := startPage; page <= endPage; page++ {
resp, err := c.GetEpisodes(ctx, animeID, page)
if err != nil {
return all, err
}
all = append(all, resp.Data...)
}
return all, nil
}