Updating database field to NULL in GORM using struct
Background
When I was using GORM as the ORM in Go, I discovered that we cannot update a field into NULL with struct, even though we use a pointer as the type.
For example, if we set nil to the Name and execute the Updates method in GORM, the name fie...
redhoyasa.hashnode.dev1 min read