New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/chenmingyong0423/go-sitemap-generator

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/chenmingyong0423/go-sitemap-generator

  • v1.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-sitemap-generator

GitHub Repo stars GitHub issues GitHub License GitHub release (with filter) Go Report Card All Contributors

go-sitemap-generator A sitemap generator in Go. It can generate a sitemap in XML format.

English | 中文简体

Installation

go get github.com/chenmingyong0423/go-sitemap-generator

Usage

err := NewSitemap().
    Url(
        "https://xxx.cn/posts/1",
        WithLastMod("2024-05-17"),
        WithChangeFreq("weekly"),
        WithPriority(1.0),
    ).
    Url("https://xxx.cn/posts/2").Output("sitemap.xml").
    GenerateXml()

FAQs

Package last updated on 19 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc