processors

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 5 Imported by: 0

README

Refer to the processors package documentation for a detailed description of the available functions and data structures.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterOutDeleted

func FilterOutDeleted() gohn.ItemProcessor

FilterOutDeleted filters deleted items

func FilterOutUsers

func FilterOutUsers(users []string) gohn.ItemProcessor

FilterOutUsers filters items that are not from the given user

func FilterOutWords

func FilterOutWords(words []string, title bool) gohn.ItemProcessor

FilterOutWords filters items that contain the given words in the title or text. The argument title is a boolean that indicates if the filter should be applied to the title and not the text.

func UnescapeHTML

func UnescapeHTML() gohn.ItemProcessor

UnescapeHTML unescapes HTML entities in the text of the item

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL