I see your point. I might checkout going bare database/sql on one of my smaller projects to get a feel for it - now that I’ve been thinking about it it strikes me that I’ve actually never tried database stuff on Go without gorp/gorm etc.
-- Michael Banzon https://michaelbanzon.com/ > Den 20. jul. 2017 kl. 19.22 skrev Nate Finch <nate.fi...@gmail.com>: > > The main reason is to avoid magic. My past experience with ORMs has been > that they make easy things easier and hard things harder. Once you start > leveraging relational bits, they become incredibly unwieldy to actually use. > They also tend to generate wildly suboptimal SQL and rely on a lot of > reflection that is just slow. > > On Thursday, July 20, 2017 at 2:56:21 AM UTC-4, mbanzon wrote: > Just out of curiosity - why switch away from gorm?? > > We've just switched from gorp to gorm - with great success. The main reason I > could find for going (pun intended) is to have one less dependency. > > -- > Michael Banzon > https://michaelbanzon.com/ <https://michaelbanzon.com/> > > Den 20. jul. 2017 kl. 06.04 skrev Nate Finch <nate....@gmail.com > <javascript:>>: > > We're thinking of dropping gorm and switching to plain old database/sql... > but I don't really want to generate all that boilerplate myself. xo looks > like it does a reasonable job of generating the boilerplate for you, so I was > wondering if anyone had any experience using it in production. Gotchas, etc. > > -Nate > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com > <mailto:golang-nuts+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.