Versions in this module Expand all Collapse all v1 v1.3.0 Mar 20, 2022 v0 v0.10.0 Aug 15, 2022 v0.9.0 Dec 27, 2020 Changes in this version + type AtomLink struct + HREF string + Rel string + Type string + XMLName xml.Name + type Author struct + Email string + Name string + XMLName xml.Name + type Channel struct + AtomLink *AtomLink + Category string + Cloud string + Copyright string + Description string + Docs string + Generator string + IAuthor string + IBlock string + ICategories []*ICategory + IComplete string + IDuration string + IExplicit string + IImage *IImage + INewFeedURL string + IOwner *Author + ISubtitle string + ISummary *ISummary + ITitle string + IType string + Image *Image + Items []*Item + Language string + LastBuildDate string + Link string + ManagingEditor string + PubDate string + Rating string + SkipDays string + SkipHours string + TTL int + TextInput *TextInput + Title string + WebMaster string + XMLName xml.Name + func New(title, link, description string, pubDate, lastBuildDate *time.Time) Channel + func (p *Channel) AddAtomLink(href string) + func (p *Channel) AddAuthor(name, email string) + func (p *Channel) AddCategory(category string, subCategories []string) + func (p *Channel) AddImage(url string) + func (p *Channel) AddItem(i *Item) (int, error) + func (p *Channel) AddLastBuildDate(datetime *time.Time) + func (p *Channel) AddPubDate(datetime *time.Time) + func (p *Channel) AddSubTitle(subTitle string) + func (p *Channel) AddSummary(summary string) + func (p *Channel) Bytes() []byte + func (p *Channel) Encode(w io.Writer) error + func (p *Channel) String() string + type Enclosure struct + Length int64 + LengthFormatted string + Type EnclosureType + TypeFormatted string + URL string + XMLName xml.Name + type EnclosureType int + const EPUB + const M4A + const M4V + const MOV + const MP3 + const MP4 + const PDF + func (et EnclosureType) String() string + type ICategory struct + ICategories []*ICategory + Text string + XMLName xml.Name + type IImage struct + HREF string + XMLName xml.Name + type ISummary struct + Text string + XMLName xml.Name + type Image struct + Description string + Height int + Link string + Title string + URL string + Width int + XMLName xml.Name + type Item struct + Author *Author + AuthorFormatted string + Category string + Comments string + Description string + Enclosure *Enclosure + GUID string + IAuthor string + IBlock string + IDuration string + IEpisode string + IEpisodeType string + IExplicit string + IImage *IImage + ISeason string + ISubtitle string + ISummary *ISummary + Link string + PubDate *time.Time + PubDateFormatted string + Source string + Title string + XMLName xml.Name + func (i *Item) AddDuration(durationInSeconds int64) + func (i *Item) AddEnclosure(url string, enclosureType EnclosureType, lengthInBytes int64) + func (i *Item) AddImage(url string) + func (i *Item) AddPubDate(datetime *time.Time) + func (i *Item) AddSummary(summary string) + type TextInput struct + Description string + Link string + Name string + Title string + XMLName xml.Name