3 ms·
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 mostl
by bliti 13y ago
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.
- icholy 13y agoI find the docs very comprehensive. http://golang.org/pkg/database/sql/ http://golang.org/pkg/database/sql/
- iv_08 13y agoThere's even a nice tutorial: http://go-database-sql.org/overview.html http://go-database-sql.org/overview.html
- bliti 13y agoI 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.