Hacker News new | ask | show | jobs
by andrewstuart2 2819 days ago
If you're looking for a slightly-more-native way to declaratively scrape (the data-binding aspect, at least) in Go based on CSS selectors, I wrote a wrapper around GoQuery that just uses struct tags for mapping. You don't have to learn a new language, and it should feel familiar if you've ever written CSS or jQuery. I've found it helps reduce a lot of boilerplate and makes things a lot easier to come back and read than what was previously a lot of nested GoQuery functions, selectors, etc.

Might be helpful and in a similar vein. :-)

https://github.com/andrewstuart/goq