move collection and extraction of articles into their own file; add custom response cache

This commit is contained in:
2025-01-04 16:53:46 +01:00
parent f31c1d7793
commit d63ee8dcf2
14 changed files with 519 additions and 105 deletions

View File

@@ -0,0 +1,11 @@
package model
import "time"
// A simple cache for requests.
type Response struct {
Url string
Content string
Processed bool
FetchDate time.Time
}