Skip to content

Commit

Permalink
remove annotations from filter.
Browse files Browse the repository at this point in the history
closes #128
  • Loading branch information
fiatjaf committed May 25, 2024
1 parent 8897cc3 commit b00bf36
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
type Filters []Filter

type Filter struct {
IDs []string `json:"ids,omitempty"`
Kinds []int `json:"kinds,omitempty"`
Authors []string `json:"authors,omitempty"`
Tags TagMap `json:"-,omitempty"`
Since *Timestamp `json:"since,omitempty"`
Until *Timestamp `json:"until,omitempty"`
Limit int `json:"limit,omitempty"`
Search string `json:"search,omitempty"`
IDs []string
Kinds []int
Authors []string
Tags TagMap
Since *Timestamp
Until *Timestamp
Limit int
Search string

// LimitZero is or must be set when there is a "limit":0 in the filter, and not when "limit" is just omitted
LimitZero bool `json:"-"`
Expand Down

0 comments on commit b00bf36

Please sign in to comment.