feat:#6 added tests with db for unused feed delete

This commit is contained in:
masterElmar
2023-11-21 01:48:09 +01:00
parent 66585b743e
commit f72610f2f9
11 changed files with 178 additions and 37 deletions

View File

@@ -0,0 +1,10 @@
package time
import "time"
type MockClock struct {
NowTime time.Time
}
func (m MockClock) Now() time.Time { return m.NowTime }
func (MockClock) After(d time.Duration) <-chan time.Time { return time.After(d) }