13 ms·
Go's been great for creating a web scraper. But it's been an unmitigated disaster for being able to write the data to a database due to the immaturity of ORMs.
by brango 9y ago
Go's been great for creating a web scraper. But it's been an unmitigated disaster for being able to write the data to a database due to the immaturity of ORMs.
Might as well not pretend something is an ORM if it can't do the fundamentals (like upserts), fully hydrating structs, etc.
- doublerebel 9y agoSimilar to doublerebel/publictransport, I ran into some issues hydrating structs the way I expected from other languages. So I wrote bellows [0], a helper to flatten and expand nested maps and structs. Not quite the same but might help someone. [0]: https://github.com/doublerebel/bellows/blob/master/README.md https://github.com/doublerebel/bellows/blob/master/README.md