From 61f680ea74a381b169e9c2d8824fb2ccb1cce07f Mon Sep 17 00:00:00 2001 From: Colby Aley Date: Wed, 19 Sep 2018 09:31:05 -0700 Subject: [PATCH] Update Model documentation for clarity --- documents/models.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documents/models.md b/documents/models.md index 1b504526..8e5efb59 100644 --- a/documents/models.md +++ b/documents/models.md @@ -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