Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt It may be embedded into your model or you may build your own model without it type User struct { gorm.Model }
| 9 | // gorm.Model |
| 10 | // } |
| 11 | type Model struct { |
| 12 | ID uint `gorm:"primarykey"` |
| 13 | CreatedAt time.Time |
| 14 | UpdatedAt time.Time |
| 15 | DeletedAt DeletedAt `gorm:"index"` |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected