From 99c8736288381ad7896285e2d067cbc4a48f513e Mon Sep 17 00:00:00 2001 From: what Date: Fri, 23 Jun 2023 11:43:35 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20ResApiParam=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/res_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/res_api.go b/base/res_api.go index 004e6f9..2d5cfbd 100644 --- a/base/res_api.go +++ b/base/res_api.go @@ -5,7 +5,7 @@ type ResApiParam struct { Name string `db:"name"` Category string `db:"category"` DataType string `db:"type"` - isRequired bool `db:"isRequired"` + IsRequired bool `db:"isRequired"` } type ResApi struct {