Documentation ¶
Index ¶
- func FilterSPR(filters Filter, s spr.StandardPlacesResult) error
- type Filter
- type SPRFilter
- func (f *SPRFilter) HasPlacetypes(fl flags.PlacetypeFlag) bool
- func (f *SPRFilter) IsCeased(fl flags.ExistentialFlag) bool
- func (f *SPRFilter) IsCurrent(fl flags.ExistentialFlag) bool
- func (f *SPRFilter) IsDeprecated(fl flags.ExistentialFlag) bool
- func (f *SPRFilter) IsSuperseded(fl flags.ExistentialFlag) bool
- func (f *SPRFilter) IsSuperseding(fl flags.ExistentialFlag) bool
- type SPRInputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filter ¶
type Filter interface { HasPlacetypes(flags.PlacetypeFlag) bool IsCurrent(flags.ExistentialFlag) bool IsDeprecated(flags.ExistentialFlag) bool IsCeased(flags.ExistentialFlag) bool IsSuperseded(flags.ExistentialFlag) bool IsSuperseding(flags.ExistentialFlag) bool }
func NewSPRFilterFromInputs ¶
type SPRFilter ¶
type SPRFilter struct { Filter Placetypes []flags.PlacetypeFlag Current []flags.ExistentialFlag Deprecated []flags.ExistentialFlag Ceased []flags.ExistentialFlag Superseded []flags.ExistentialFlag Superseding []flags.ExistentialFlag }
func NewSPRFilter ¶
func (*SPRFilter) HasPlacetypes ¶
func (*SPRFilter) IsDeprecated ¶
func (*SPRFilter) IsSuperseded ¶
func (*SPRFilter) IsSuperseding ¶
Click to show internal directories.
Click to hide internal directories.