Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sitemap ¶
type Sitemap struct {
Urls []SitemapUrl `json:"urls"`
}
func NewSitemap ¶
func NewSitemap(urls []SitemapUrl) *Sitemap
func (*Sitemap) OutputJSON ¶
type SitemapUrl ¶
type SitemapUrl struct {
Location string `json:"location"`
LastMod string `json:"lastMod"`
ChangeFreq string `json:"changeFreq"`
Priority string `json:"priority"`
}
func NewSitemapUrl ¶
func NewSitemapUrl( location string, lastMod string, changeFreq string, priority string, ) *SitemapUrl
func (*SitemapUrl) Output ¶
func (s *SitemapUrl) Output()
Click to show internal directories.
Click to hide internal directories.