package
Version:
v1.10.2
Opens a new window with list of versions in this module.
Published: Jan 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Set struct {
XMLName xml.Name `xml:"urlset,omitempty"`
XMLNS string `xml:"xmlns,attr,omitempty"`
Urls []Tag `xml:"url,omitempty"`
}
Set is a sitemap XML template.
func (set *Set) StaticURLs() (c, i int)
type Tag struct {
Location string `xml:"loc,omitempty"`
LastModified string `xml:"lastmod,omitempty"`
ChangeFreq string `xml:"changefreq,omitempty"`
Priority string `xml:"priority,omitempty"`
}
Tag composes the <url> tag in the sitemap.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.