From 5727a3a8a7b8f45df443f75115d5b4c247417824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AE=8F=E7=8E=BA?= Date: Thu, 12 Dec 2019 08:39:50 +0800 Subject: [PATCH] Update models.md --- zh-CN/mvc/model/models.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-CN/mvc/model/models.md b/zh-CN/mvc/model/models.md index 85909c84..180d0415 100644 --- a/zh-CN/mvc/model/models.md +++ b/zh-CN/mvc/model/models.md @@ -204,7 +204,7 @@ type User struct { ```go type User struct { ... - Status int `orm:"default(1)" description:"这是状态字段"` + Status int `orm:"default(1);description(这是状态字段)"` ... } ```