All Articles

A quick chat on gorm

A brief talk about GORM as I understand about 10% of it.

(everything I say here is subject to change, and very well could be wrong)

Gorm seems relatively simple in purpose so far, all we are doing to incorporate it is including it, is establishing a connection with the database, the using that open db connection, using some of gorms built-ins to perform the basic crud operations we need.

Overall, it looks like gorm does the hard work of abstracting for us, so I can keep from writing full SQL statements, and can keep this process relatively small. I do enjoy their documentation, it seems concise but clear, and being someone that finds these incredibly hard to read without examples shown explicitly, I understood it fairly quickly. add into it the automigration scripting, and this seems like a real winner.

as far as Go libraries, this may be my favorite so far, and will need to look further into it.