Convert database fields to uppercase automatically with GORM Callbacks
Sometimes I would like to convert the fields for an entity to uppercase every time the record is saved or updated automatically, without littering the code with code to perform those uppercase conversions and risk forgetting to place them elsewhere. ...
May 7, 20232 min read199