diff --git a/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go b/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go index 1862cbb1..c132a5bc 100644 --- a/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go +++ b/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go @@ -5,7 +5,6 @@ import ( "net/http/httptest" "testing" - "github.com/qor5/web/multipartestutils" . "github.com/qor5/web/v3/multipartestutils" "github.com/theplant/gofixtures" @@ -40,7 +39,7 @@ func TestLinkageSelectFilter(t *testing.T) { Debug: true, ReqFunc: func() *http.Request { linkageSelectFilterData.TruncatePut(dbr) - req := multipartestutils.NewMultipartBuilder(). + req := NewMultipartBuilder(). PageURL("/addresses"). EventFunc(actions.Edit). Query(presets.ParamID, "1"). @@ -54,7 +53,7 @@ func TestLinkageSelectFilter(t *testing.T) { Debug: true, ReqFunc: func() *http.Request { linkageSelectFilterData.TruncatePut(dbr) - req := multipartestutils.NewMultipartBuilder(). + req := NewMultipartBuilder(). PageURL("/addresses"). EventFunc(actions.Update). AddField("ProvinceCityDistrict[0].Name", "浙江"). diff --git a/go.mod b/go.mod index 52d24a6c..0c8a492c 100644 --- a/go.mod +++ b/go.mod @@ -32,8 +32,7 @@ require ( github.com/pquerna/otp v1.4.0 github.com/qor5/confx v0.0.0-20250426065316-0d28db5b4d54 github.com/qor5/imaging v1.6.4 - github.com/qor5/web v1.3.2 - github.com/qor5/web/v3 v3.0.12-0.20250618085230-3764d0e521a8 + github.com/qor5/web/v3 v3.2.0 github.com/qor5/x/v3 v3.2.1-0.20260622072534-0de7285720c4 github.com/samber/lo v1.50.0 github.com/shurcooL/sanitized_anchor_name v1.0.0 @@ -186,6 +185,7 @@ require ( github.com/pierrec/lz4/v4 v4.1.22 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect + github.com/qor5/web v1.3.2 // indirect github.com/redis/go-redis/v9 v9.16.0 // indirect github.com/rs/cors v1.11.1 // indirect github.com/russross/blackfriday v1.6.0 // indirect diff --git a/go.sum b/go.sum index fb338160..8f2f5aa1 100644 --- a/go.sum +++ b/go.sum @@ -442,8 +442,8 @@ github.com/qor5/imaging v1.6.4 h1:6VNy1EnFKAns8e73uzsZa6UQDw0oekvUHui1oeydy78= github.com/qor5/imaging v1.6.4/go.mod h1:i1E3GRDbTFbXuzZtm1/8zWu+lDbDw6O1hCmjtyQFnR4= github.com/qor5/web v1.3.2 h1:zw796YJeDLe8vRwGR1cM+uS1ZuSkPutchBEXv2GgOhI= github.com/qor5/web v1.3.2/go.mod h1:LszskQJbFQDJwOeZC6j6afOiHxxyjrzz8B3zuBwfgKQ= -github.com/qor5/web/v3 v3.0.12-0.20250618085230-3764d0e521a8 h1:s3jBS5bq6VX56GicRPCeXvb0TRLSz5w1xJHymPnhTuo= -github.com/qor5/web/v3 v3.0.12-0.20250618085230-3764d0e521a8/go.mod h1:hrhZ4nc1U+AOBrGmnUoRUPpA9fymxlAbNfGvn9TJLns= +github.com/qor5/web/v3 v3.2.0 h1:3lLQPGa6ooRvlUHBRUnYQnhONAHfsAMbMxPy4agwUUs= +github.com/qor5/web/v3 v3.2.0/go.mod h1:e/LSEZQJzWYVvIoix7pfJHpDW1tX9VwEariiz1VlbRQ= github.com/qor5/x/v3 v3.2.1-0.20260622072534-0de7285720c4 h1:D0S0/k60W/7Qe8o6WC0J8VH7sAREsExdP9MQNmNYFpk= github.com/qor5/x/v3 v3.2.1-0.20260622072534-0de7285720c4/go.mod h1:NctRnhqeUMtVwHC1aQfgwxJoE585i7UIU+5/1NgKMvI= github.com/redis/go-redis/v9 v9.16.0 h1:OotgqgLSRCmzfqChbQyG1PHC3tLNR89DG4jdOERSEP4=