Go Series: Learning How to Build a Web Service Using Go from Scratch Pt. 10— Gorm and Models

Jonathan Chao
3 min readJun 12, 2023

I’ve been checking out the packages for SQL. There are sqlc, sqlx, and GORM that are publicly available. There’s a more detailed blog about the comparison. The short version is, sqlx is more performant, but GORM provides ORM structure which I think is cleaner, so I went with GORM.

--

--

Jonathan Chao

I am a software developer who has been in this industry for close to a decade. I share my experience to people who are or want to get into the industry