Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here is a rant from me ... there is no effortless way to put mysql results into map [string]interface{} (equivalent to mysql_fetch_assoc) with built in typing. You get []byte and have to cast and scan everything yourself. Also go is hard to serach for in google and google groups where golang nuts are - they are as pleasurable for searching and finding info as a kick in the balls.

Apart from that the language is very solid and has some nice decisions made about it.



Someone could build decent ORM for Go. It's not really the language's job to build this.


Using mymysql the row object has typed getters.

row.Int(3) returns the 4th column as an int, row.Str(3) as a string, etc. Works fine for me.


You can find most Go-related things by searching for "golang".


That's a problem you only have to solve once.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: