chore: go fmt
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
|
||||
// resolveModeSourceWithCache is like resolveModeSource but caches probe results.
|
||||
func (s *Service) resolveModeSourceWithCache(
|
||||
ctx context.Context,
|
||||
|
||||
@@ -68,4 +68,3 @@ func (c *Client) GetAllEpisodes(ctx context.Context, animeID int) ([]Episode, er
|
||||
|
||||
return result, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ type ScheduleResult struct {
|
||||
HasNextPage bool // whether more pages available
|
||||
}
|
||||
|
||||
|
||||
// GetSeasonsNow returns currently airing anime for the current season.
|
||||
func (c *Client) GetSeasonsNow(ctx context.Context, page int) (TopAnimeResult, error) {
|
||||
if page < 1 {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package jikan
|
||||
|
||||
import (
|
||||
)
|
||||
import ()
|
||||
|
||||
type ProducerResponse struct {
|
||||
Data struct {
|
||||
@@ -25,4 +24,3 @@ type ProducerResponse struct {
|
||||
} `json:"external"`
|
||||
} `json:"data"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user