From 2cef52d9066475bb5f975ed408a8527afbf9b484 Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Sat, 22 Aug 2026 13:19:04 +0800 Subject: [PATCH] =?UTF-8?q?chore=F0=9F=94=A7:=20record=20the=20modules=20t?= =?UTF-8?q?he=20code=20imports=20as=20direct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit go mod tidy moves glebarez/sqlite and gorm.io/plugin/soft_delete out of the indirect block: the tests import the first and common/models the second. CI runs tidy before building, so the tree was dirty from the first command. --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 4044e698..4b85ec37 100644 --- a/go.mod +++ b/go.mod @@ -10,6 +10,7 @@ require ( github.com/bytedance/go-tagexpr/v2 v2.9.11 github.com/casbin/casbin/v3 v3.8.1 github.com/gin-gonic/gin v1.12.0 + github.com/glebarez/sqlite v1.11.0 github.com/go-admin-team/go-admin-core v1.7.1-0.20260818135152-a912b404d5c0 github.com/google/uuid v1.6.0 github.com/huaweicloud/huaweicloud-sdk-go-obs v3.26.6+incompatible @@ -31,6 +32,7 @@ require ( gorm.io/driver/sqlite v1.6.0 gorm.io/driver/sqlserver v1.6.4 gorm.io/gorm v1.31.2 + gorm.io/plugin/soft_delete v1.2.1 ) require ( @@ -58,7 +60,6 @@ require ( github.com/ghodss/yaml v1.0.0 // indirect github.com/gin-contrib/sse v1.1.1 // indirect github.com/glebarez/go-sqlite v1.22.0 // indirect - github.com/glebarez/sqlite v1.11.0 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/go-openapi/jsonpointer v1.0.0 // indirect github.com/go-openapi/jsonreference v1.0.0 // indirect @@ -141,7 +142,6 @@ require ( gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gorm.io/plugin/dbresolver v1.6.2 // indirect - gorm.io/plugin/soft_delete v1.2.1 // indirect modernc.org/fileutil v1.3.40 // indirect modernc.org/libc v1.67.4 // indirect modernc.org/mathutil v1.7.1 // indirect