5 ms·
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.
by venomsnake 14y ago
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.
- btipling 14y agoSomeone could build decent ORM for Go. It's not really the language's job to build this.
- TylerE 14y agoUsing 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.
- cypher543 14y agoYou can find most Go-related things by searching for "golang".
- reeses 14y agoThat's a problem you only have to solve once.