From 4ef8c130a7589a536a49ee03ae46e63303d651d9 Mon Sep 17 00:00:00 2001 From: what Date: Thu, 9 May 2024 11:44:00 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E7=B1=BB=E5=9E=8B=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20int=20=3D>=20byte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource.go b/resource.go index 117a92d..46bd445 100644 --- a/resource.go +++ b/resource.go @@ -87,7 +87,7 @@ type QueryField interface { IsExpr() bool IsOmitempty() bool Ignored() bool - SetOptions(int) QueryField + SetOptions(byte) QueryField ToSql() db.Expression ToStructField(tags ...string) reflect.StructField }