Comment Comment by zimpenfish > wouldn't the obvious way be to make the private field private (lowercase)?That may break other things - `gorm`, for example, will ignore private fields - inconvenient if you want to serialise `User` to your DB. parent zimpenfish 1 year ago
That may break other things - `gorm`, for example, will ignore private fields - inconvenient if you want to serialise `User` to your DB.