feed

package
Version: v0.0.0-...-8cba18c Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 5 Imported by: 1

README

go-common/feed

This repository contains the go-common/feed library.

To install:

go get github.com/ugorji/go-common/feed

Package Documentation

Package feed supports Atom feeds.

Exported Package API

const TextPlain textType = iota + 1 ...
type Entry struct{ ... }
type Feed struct{ ... }

Documentation

Overview

Package feed supports Atom feeds.

Index

Constants

View Source
const (
	TextPlain textType = iota + 1
	TextHtml
	TextXHtml
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Title    string
	Link     string
	Desc     string
	DescType textType
	PubDate  time.Time
	LastMod  time.Time
	Author   string
}

type Feed

type Feed struct {
	Title    string
	Link     string
	SelfLink string
	PubDate  time.Time
	LastMod  time.Time
	Entries  []*Entry
	Author   string
}

func (*Feed) ToAtom

func (f *Feed) ToAtom(w io.Writer, indent string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL