Merge 61f680ea74a381b169e9c2d8824fb2ccb1cce07f into f1caf058c5624a4d3e7176ee387df6a2e4c9c018
This commit is contained in:
commit
8b098d271b
@ -56,7 +56,7 @@ type CreditCard struct {
|
|||||||
|
|
||||||
### `gorm.Model` struct
|
### `gorm.Model` struct
|
||||||
|
|
||||||
Base model definition `gorm.Model`, including fields `ID`, `CreatedAt`, `UpdatedAt`, `DeletedAt`, you could embed it in your model, or only write those fields you want
|
Base model definition `gorm.Model` includes fields `ID`, `CreatedAt`, `UpdatedAt`, `DeletedAt`. You can embed it in your model or only write those fields you want.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Base Model's definition
|
// Base Model's definition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user