protoc-gen-go-micro/examples/sitemap/sitemap.xml.tmpl
2017-03-16 17:47:54 +01:00

10 lines
310 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">{{range .Service.Method}}
<url>
<loc>/{{.Name | lower}}</loc>
<priority>0.5</priority>
<changefreq>monthly</changefreq>
<lastmod>{{now | date "2006-01-02"}}</lastmod>
</url>{{end}}
</urlset>