1
0
Fork 0
mirror of https://github.com/imjasonh/go-marvel synced 2026-07-18 14:56:37 +00:00

ComicsParams

This commit is contained in:
Jason Hall 2014-04-29 14:37:47 -04:00
parent fd93910594
commit 398d069548
3 changed files with 24 additions and 17 deletions

View file

@ -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)
}