Skip to content

Show HN: webhog – Web scraper written in Go

github.com/johnernaut
3 pointsjohnernaut1 comment
On HN

Comments

This is another Go OSS project of mine that I'm using to expand my knowledge of the language and its inner-workings. I'd be extremely interested in gathering advice on the best way to test an application such as this.

Most of the complexity lies within downloading and persisting files - do my test methods need to download physical files from the web as well, or is there a straight-forward way to stub that behavior out? Any feedback is appreciated.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.