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

github.com/cpaules/go-sitemap-builder

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cpaules/go-sitemap-builder

  • v0.0.0-20200110213803-1b52ae51ecc2
  • Source
  • Go
  • Socket score

Version published
Created
Source

Outputs a sitemap in the XML format specified by the standard sitemap protocol.

Running go run main.go will print the sitemap to the console. Accepts a url flag and a depth flag, which default to https://www.google.com and to 2

Creates a sitemap by visiting the base url and performing a breadth first search on each link in the page until the sitemap 'tree' is exhausted or the maximum depth set by the flag or the default value of 2 is reached.

FAQs

Package last updated on 10 Jan 2020

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