types

package
v0.0.0-...-822cb40 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	Guid        ArticleGuid `xml:"guid"`
	Link        string      `xml:"link"`
	Title       string      `xml:"title"`
	Description string      `xml:"description"`
	CreatedAt   time.Time   `xml:"pubDate"`
}

type ArticleGuid

type ArticleGuid struct {
	Id          string `xml:",chardata"`
	IsPermaLink bool   `xml:"isPermaLink,attr"`
}

type Feed

type Feed struct {
	XMLName     xml.Name   `xml:"channel"`
	Title       string     `xml:"title"`
	Description string     `xml:"description"`
	Link        string     `xml:"link"`
	Articles    []*Article `xml:"item"`
}
var ArticleFeed Feed = Feed{
	Articles:    []*Article{},
	Title:       "ICT-Flex - Announcements",
	Link:        "https://ict-flex.nl/mededelingen/",
	Description: "RSS Feed for ICT-Flex announcements",
}

Jump to

Keyboard shortcuts

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