Hacker News new | ask | show | jobs
by jlubawy 3610 days ago
Like you describe in the book, I had written a web-app in Go in which I was doing all the SQL handling manually, I found that it became very difficult to maintain this over time as I added new columns and more tables. Just the other day I switched to using GORM (github.com/jinzhu/gorm) for my database drivers and so far it's been a life-saver. Since this is a book about not using frameworks, GORM might be overkill for what you want to do, but I thought it was worth mentioning.
1 comments

I used to think that using raw SQL is better than using ORMs because I have had a bad experience using django1's OEM. I will look into the ORM now. Thanks for the advice!