Last active
March 22, 2022 11:37
-
-
Save cp-sumi-k/6d21871c31287f18b2201c04f52c1c41 to your computer and use it in GitHub Desktop.
https://medium.com/canopas/automation-dynamic-sitemap-generation-with-golang-api-584f6c53ea9c - sitemap-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urlset := URLset{URL: sitemapUrls, XMLNS: "http://www.sitemaps.org/schemas/sitemap/0.9"} | |
c.Header("Content-Type", "application/xml") | |
c.XML(http.StatusOK, urlset) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment