Merge 61f680ea74a381b169e9c2d8824fb2ccb1cce07f into f1caf058c5624a4d3e7176ee387df6a2e4c9c018

This commit is contained in:
Colby Aley 2018-09-19 16:32:13 +00:00 committed by GitHub
commit 8b098d271b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ type CreditCard 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
// Base Model's definition