Remove unused caching structs

This commit is contained in:
Peter Stuifzand 2018-07-26 19:50:08 +02:00
parent 0d3e2638c1
commit e79b883faa

View File

@ -39,17 +39,6 @@ import (
"willnorris.com/go/microformats"
)
type cacheItem struct {
item []byte
created time.Time
}
var cache map[string]cacheItem
func init() {
cache = make(map[string]cacheItem)
}
func (b *memoryBackend) feedHeader(fetchURL, contentType string, body io.Reader) (microsub.Feed, error) {
log.Printf("ProcessContent %s\n", fetchURL)
log.Println("Found " + contentType)