feed

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Categories = []Category{
	{Name: "Arts"},
	{Name: "Business"},
	{Name: "Comedy"},
	{Name: "Education"},
	{Name: "Fiction"},
	{Name: "Government"},
	{Name: "History"},
	{Name: "Health & Fitness"},
	{Name: "Kids & Family"},
	{Name: "Leisure"},
	{Name: "Music"},
	{Name: "News"},
	{Name: "Religion & Spirituality"},
	{Name: "Science"},
	{Name: "Society & Culture"},
	{Name: "Sports"},
	{Name: "Technology"},
	{Name: "True Crime"},
	{Name: "TV & Film"},
}

Functions

func SelectCategory added in v1.2.2

func SelectCategory(rawCategories []string) string

func SortByPubDate

func SortByPubDate(items []*podcast.Item) []*podcast.Item

Types

type Category added in v1.2.2

type Category struct {
	Name     string
	Score    uint32
	Children []Category
}

Jump to

Keyboard shortcuts

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