News for hackers. Stuff that matters.
Re:A RESTful Micro-Framework in Go by bliti on Sunday January 26, 2014 @12:45PM (#7125938)
Yes, SQL is still spotty in Go. I wrote a medium sized program with it and the learning curve was fairly high. Documentation for the database libraries is mostly nill. Though I'm not sure if it would benefit from an ORM. This is a systems language. I'd rather have it use interfaces to access data from a database than have it deal with it itself. That way I keep it tidy and fast. Which is Go's aim.
Re:A RESTful Micro-Framework in Go by icholy on Sunday January 26, 2014 @12:50PM (#7125956)
I find the docs very comprehensive. http://golang.org/pkg/database/sql/
Re:A RESTful Micro-Framework in Go by bliti on Sunday January 26, 2014 @07:29PM (#7127899)
I failed to convey my experiences. Which is that the third party drivers are very hit and miss (along with the documentation). Understandably due to how young the language is. But yes, the golang docs are very nice.
Re:A RESTful Micro-Framework in Go by iv_08 on Sunday January 26, 2014 @01:03PM (#7126012)
There's even a nice tutorial: http://go-database-sql.org/overview.html