
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
github.com/kataras/sitemap
Sitemap Protocol implementation for Go. Automatically handles Sitemap index files "/sitemap.xml"
.
The only requirement is the Go Programming Language.
$ go get github.com/kataras/sitemap
import "github.com/kataras/sitemap"
sitemaps := sitemap.New("http://localhost:8080").
URL(sitemap.URL{Loc: "/home"}).
URL(sitemap.URL{Loc: "/articles", LastMod: time.Now(), ChangeFreq: sitemap.Daily, Priority: 1}).
Build()
import "net/http"
for _, s := range sitemaps {
http.Handle(s.Path, s)
}
http.ListenAndServe(":8080", nil)
Visit http://localhost:8080/sitemap.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://localhost:8080/home</loc>
</url>
<url>
<loc>http://localhost:8080/articles</loc>
<lastmod>2019-12-05T08:17:35+02:00</lastmod>
<changefreq>daily</changefreq>
<priority>1</priority>
</url>
</urlset>
For a more detailed technical documentation you can head over to our godocs. And for executable code you can always visit the _examples repository's subdirectory.
kataras/sitemap is free and open-source software licensed under the MIT License.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.