mirror of
https://github.com/imjasonh/go-marvel
synced 2026-07-18 14:56:37 +00:00
ComicsParams
This commit is contained in:
parent
fd93910594
commit
398d069548
3 changed files with 24 additions and 17 deletions
|
|
@ -30,7 +30,7 @@ func main() {
|
|||
limit := 100
|
||||
imgs := []image.Image{}
|
||||
for {
|
||||
r, err := c.Series(*seriesID).Comics(marvel.CommonParams{offset, limit})
|
||||
r, err := c.Series(*seriesID).Comics(marvel.ComicsParams{Offset: offset, Limit: limit})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue