ikeikeikeike / go-sitemap-generator

go-sitemap-generator is the easiest way to generate Sitemaps in Go
https://github.com/ikeikeikeike/go-sitemap-generator
MIT License
218 stars 65 forks source link

Add a webserver example to the readme #13

Closed philipithomas closed 7 years ago

philipithomas commented 7 years ago

It took me a LONG time to figure out that I should not be calling .Finalize() for a basic webserver. I think that this example would help others.

ikeikeikeike commented 7 years ago

Ahh, Thank you for adds example more and I apologize to you for bothers such a thing. I merge this now and then a example will be rewritten to reduce warning.

ikeikeikeike commented 7 years ago

Fixed with https://github.com/ikeikeikeike/go-sitemap-generator/pull/14