reprogl
1package models2
3import (4"encoding/xml"5)
6
7type SitemapItem struct {8Slug string `xml:"-"`9URL string `xml:"loc"`10UpdatedAt SitemapTime `xml:"lastmod"`11Changfreq string `xml:"changefreq,omitempty"`12}
13
14type SitemapItemList []*SitemapItem15
16type SitemapURLSet struct {17XMLName xml.Name `xml:"http://www.sitemaps.org/schemas/sitemap/0.9 urlset"`18Items SitemapItemList `xml:"url"`19}
20