Go Series: Learning How to Build a Web Service Using Go from Scratch Pt. 10— Gorm and Models
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.