sitemap

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 1 Imported by: 1

README

sitemap

Easily generate sitemaps.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Site

type Site struct {
	URL string
}

Site represents a single page or URL.

type Sitemap

type Sitemap struct {
	// contains filtered or unexported fields
}

Sitemap represents a single sitemap.

func New

func New() *Sitemap

New creates a new sitemap.

func (*Sitemap) Add

func (sitemap *Sitemap) Add(url string)

Add adds a site to the sitemap.

func (*Sitemap) Text

func (sitemap *Sitemap) Text() string

Text creates a list of your URLs in text format.

Jump to

Keyboard shortcuts

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