howto
howto copied to clipboard
Improvements
- Use a linter to ensure best practices, right now there are a few places where the code can use linting. If you use VScode you can simply install the Go extension and configure it to lint your code on save
- Use the stackoverflow API instead of scaping the pages. If you can't find a go library for the API simply make HTTP calls to the required endpoints
- https://github.com/pr4k/howto/blob/master/scraper.go#L83-L85 this is too nested and complicated for anyone to understand whats happening here
In the screencast I am unable to see the demo, either record a zoomed in version of it or use asciinema