Fix syntax error

This commit is contained in:
Peter Stuifzand 2018-07-05 22:53:29 +02:00
parent 7ed1d17373
commit c613e18c7a

View File

@ -329,8 +329,8 @@ func (b *memoryBackend) feedItems(fetchURL, contentType string, body io.Reader)
}
}
for _, v := range items {
log.Printf("Id=%s Name=%s\n", item.Id, item.Name)
for _, item := range items {
log.Printf("ID=%s Name=%s\n", item.ID, item.Name)
log.Printf("Author=%#v\n", item.Author)
log.Printf("Text=%s\n", item.Content.Text)
log.Printf("HTML=%s\n", item.Content.HTML)