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