Working with the PostgreSQL JSONB column type in Golang using GORM
I recently had to do some work that required I store data in JSON into the database. The options I had available to use were PostgreSQL’s JSON or JSONB column data type. I chose JSONB because it is more recent and has some advantages over the JSON column type I used GORM as my ORM of choice on this project, so I had to find out if GORM had support for the JSONB type....