()
| 331 | } |
| 332 | |
| 333 | func (resource *Resource) IsGIF() bool { |
| 334 | if resource.FinishedDownloading() { |
| 335 | resource.Parse() |
| 336 | return strings.Contains(resource.MimeType, "gif") |
| 337 | } |
| 338 | return false |
| 339 | } |
| 340 | |
| 341 | func (resource *Resource) AsGIF() *GifAnimation { |
| 342 | resource.Parse() |
no test coverage detected