From 2f84ddf5f54fcfaf5f7a523e29657cce6ee3854e Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 24 Jul 2022 19:53:10 -0300 Subject: [PATCH] add limit field to filter. --- filter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filter.go b/filter.go index 337bddb..e4c196a 100644 --- a/filter.go +++ b/filter.go @@ -10,9 +10,10 @@ type Filter struct { IDs StringList Kinds IntList Authors StringList + Tags TagMap Since *time.Time Until *time.Time - Tags TagMap + Limit int } type TagMap map[string]StringList