January 20, 2018

Go and MySQL

I’ve been using Gorm for a while and wanted to see what it would look like to use the standard database/sql package instead. My main concern was development time since Gorm makes it simple to create the structures needed for simple queries. Basically a lot less typing. My exploration yielded a pattern that I’ve enjoyed so far. Also, my (not yet very thorough) benchmarks indicate that removing Gorm’s heavy reflection from the program yielded better application performance for large queries. ... Read more

© Crit Russell