Documentation ¶
Index ¶
- func FilterByIdentifier(cl md.ChapterList, field string, ranges Ranges) md.ChapterList
- func FilterByLanguage(cl md.ChapterList, lang language.Tag) md.ChapterList
- func FilterByRegex(cl md.ChapterList, field string, pattern string) md.ChapterList
- func MatchPattern(pattern, s string) bool
- func RemoveDuplicates(cl md.ChapterList) md.ChapterList
- func SortByGroupViews(cl md.ChapterList) md.ChapterList
- func SortByMost(cl md.ChapterList) md.ChapterList
- func SortByNewest(cl md.ChapterList) md.ChapterList
- func SortByNewestGroup(cl md.ChapterList) md.ChapterList
- func SortByViews(cl md.ChapterList) md.ChapterList
- type Filter
- type Ranges
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterByIdentifier ¶
func FilterByIdentifier(cl md.ChapterList, field string, ranges Ranges) md.ChapterList
func FilterByLanguage ¶
func FilterByLanguage(cl md.ChapterList, lang language.Tag) md.ChapterList
func FilterByRegex ¶
func FilterByRegex(cl md.ChapterList, field string, pattern string) md.ChapterList
func MatchPattern ¶
func RemoveDuplicates ¶
func RemoveDuplicates(cl md.ChapterList) md.ChapterList
func SortByGroupViews ¶
func SortByGroupViews(cl md.ChapterList) md.ChapterList
func SortByMost ¶
func SortByMost(cl md.ChapterList) md.ChapterList
func SortByNewest ¶
func SortByNewest(cl md.ChapterList) md.ChapterList
func SortByNewestGroup ¶
func SortByNewestGroup(cl md.ChapterList) md.ChapterList
func SortByViews ¶
func SortByViews(cl md.ChapterList) md.ChapterList
Types ¶
type Filter ¶
type Filter = func(md.ChapterList) (md.ChapterList, error)
Click to show internal directories.
Click to hide internal directories.