Documentation
¶
Index ¶
- func Filter(ctx context.Context, notes <-chan Note, predicates ...Predicate) (note <-chan Note, errors <-chan error)
- func FindTagByName(note Note, name string) (tag.Tag, bool, error)
- func Top(ctx context.Context, limit int, notes <-chan Note, less Less) (note <-chan Note, errors <-chan error)
- type Less
- type Note
- type Predicate
- func CreatedAfter(createdAfter string) (Predicate, error)
- func CreatedBefore(createdBefore string) (Predicate, error)
- func Grep(expr string) (Predicate, error)
- func ModifiedAfter(modifiedAfter string) (Predicate, error)
- func ModifiedBefore(modifiedBefore string) (Predicate, error)
- func NoTag(t string) Predicate
- func NoTags() Predicate
- func Tag(t string) Predicate
- func TagAfter(tagNameValue string) (Predicate, error)
- func TagBefore(tagNameValue string) (Predicate, error)
- func TagGreater(tagNameValue string) (Predicate, error)
- func TagGrep(regex *regexp.Regexp) Predicate
- func TagLower(tagNameValue string) (Predicate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Predicate ¶
func CreatedAfter ¶
func CreatedBefore ¶
func ModifiedAfter ¶
func ModifiedBefore ¶
func TagGreater ¶
Click to show internal directories.
Click to hide internal directories.