mirror of
https://github.com/imjasonh/go-marvel
synced 2026-07-18 14:56:37 +00:00
construct thumbnail URLs
This commit is contained in:
parent
d8cbfed19b
commit
c7ebbbc6fd
2 changed files with 37 additions and 6 deletions
|
|
@ -10,5 +10,7 @@ func TestRequest(t *testing.T) {
|
|||
t.Errorf("error: %v", err)
|
||||
return
|
||||
}
|
||||
t.Logf("%+v", r)
|
||||
for _, iss := range r.Data.Results {
|
||||
t.Logf(iss.Thumbnail.URL(PortraitIncredible))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue