move files.Add to inbox.txt

This commit is contained in:
bel
2024-07-13 23:23:32 -06:00
parent 9b1ad420fe
commit 0d456f4d73
3 changed files with 16 additions and 8 deletions

View File

@@ -8,6 +8,12 @@ type Like func(Delta) bool
type Likes []Like
func LikeTransaction(delta Delta) Like {
return func(d Delta) bool {
return d.transaction == delta.transaction
}
}
func LikeBefore(date string) Like {
return func(d Delta) bool {
return date >= d.Date