From 095a3400c9e24d723ccc02ec0f6bab2d19d379da Mon Sep 17 00:00:00 2001 From: scnace Date: Tue, 24 Oct 2023 14:46:58 +0800 Subject: [PATCH] v2/pkg: downgrade to 1.20, keep toolchain in 1.21 Refers to https://github.com/golang/go/issues/62409 --- v2/pkg/go.mod | 4 +++- v2/pkg/go.sum | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/v2/pkg/go.mod b/v2/pkg/go.mod index 93aed4f..3fd2948 100644 --- a/v2/pkg/go.mod +++ b/v2/pkg/go.mod @@ -1,6 +1,8 @@ module github.com/ezbuy/ezorm/v2/pkg -go 1.21 +go 1.20 + +toolchain go1.21.0 require ( github.com/ezbuy/wrapper v1.0.3 diff --git a/v2/pkg/go.sum b/v2/pkg/go.sum index a174ca4..5086735 100644 --- a/v2/pkg/go.sum +++ b/v2/pkg/go.sum @@ -34,7 +34,6 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DATA-DOG/go-sqlmock v1.3.0 h1:ljjRxlddjfChBJdFKJs5LuCwCWPLaC1UZLwAo3PBBMk= -github.com/DATA-DOG/go-sqlmock v1.3.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=