Skip to content

Commit

Permalink
升级框架
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Nov 19, 2024
1 parent 1dbbd44 commit bf77c75
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.23.3

- name: Go Mod Tidy
run: go mod tidy
Expand Down
33 changes: 15 additions & 18 deletions driver/clickhouse/go.mod
Original file line number Diff line number Diff line change
@@ -1,47 +1,44 @@
module github.com/farseer-go/data/driver/clickhouse

go 1.21

toolchain go1.22.0
go 1.22

require (
github.com/farseer-go/data v0.14.0
github.com/farseer-go/fs v0.14.0
github.com/farseer-go/fs v0.15.0
gorm.io/driver/clickhouse v0.6.1
gorm.io/gorm v1.25.10
gorm.io/gorm v1.25.12
)

// 原库404
exclude github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f

//replace github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f => github.com/farseer-go/osext v0.1.0

exclude github.com/timandy/routine v1.1.3

require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/ClickHouse/ch-go v0.61.5 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.25.0 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/farseer-go/collections v0.14.0 // indirect
github.com/farseer-go/mapper v0.14.0 // indirect
github.com/ClickHouse/ch-go v0.63.1 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.30.0 // indirect
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/farseer-go/collections v0.15.0 // indirect
github.com/farseer-go/mapper v0.15.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
github.com/go-faster/errors v0.7.1 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/klauspost/compress v1.17.8 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/paulmach/orb v0.11.1 // indirect
github.com/pierrec/lz4/v4 v4.1.21 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/timandy/routine v1.1.2 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
golang.org/x/sys v0.21.0 // indirect
github.com/timandy/routine v1.1.4 // indirect
go.opentelemetry.io/otel v1.32.0 // indirect
go.opentelemetry.io/otel/trace v1.32.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/mysql v1.5.6 // indirect
gorm.io/driver/mysql v1.5.7 // indirect
)
28 changes: 13 additions & 15 deletions driver/postgres/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,33 @@ module github.com/farseer-go/data/driver/postgres

go 1.21

toolchain go1.22.0
toolchain go1.23.3

require (
github.com/farseer-go/data v0.14.0
github.com/farseer-go/fs v0.14.0
gorm.io/driver/postgres v1.5.7
gorm.io/gorm v1.25.10
github.com/farseer-go/fs v0.15.0
gorm.io/driver/postgres v1.5.9
gorm.io/gorm v1.25.12
)

exclude github.com/timandy/routine v1.1.3

require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/farseer-go/collections v0.14.0 // indirect
github.com/farseer-go/mapper v0.14.0 // indirect
github.com/farseer-go/collections v0.15.0 // indirect
github.com/farseer-go/mapper v0.15.0 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.6.0 // indirect
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jackc/pgx/v5 v5.7.1 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/timandy/routine v1.1.2 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/text v0.16.0 // indirect
github.com/timandy/routine v1.1.4 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/mysql v1.5.6 // indirect
gorm.io/driver/mysql v1.5.7 // indirect
)
21 changes: 10 additions & 11 deletions driver/sqlite/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,29 @@ module github.com/farseer-go/data/driver/sqlite

go 1.21

toolchain go1.22.0
toolchain go1.23.3

require (
github.com/farseer-go/data v0.14.0
github.com/farseer-go/fs v0.14.0
gorm.io/driver/sqlite v1.5.5
gorm.io/gorm v1.25.10
github.com/farseer-go/fs v0.15.0
gorm.io/driver/sqlite v1.5.6
gorm.io/gorm v1.25.12
)

exclude github.com/timandy/routine v1.1.3

require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/farseer-go/collections v0.14.0 // indirect
github.com/farseer-go/mapper v0.14.0 // indirect
github.com/farseer-go/collections v0.15.0 // indirect
github.com/farseer-go/mapper v0.15.0 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/mattn/go-sqlite3 v1.14.22 // indirect
github.com/mattn/go-sqlite3 v1.14.24 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/timandy/routine v1.1.2 // indirect
github.com/timandy/routine v1.1.4 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/mysql v1.5.6 // indirect
gorm.io/driver/mysql v1.5.7 // indirect
)
22 changes: 10 additions & 12 deletions driver/sqlserver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@ module github.com/farseer-go/data/driver/sqlserver

go 1.21

toolchain go1.22.0
toolchain go1.23.3

require (
github.com/farseer-go/data v0.14.0
github.com/farseer-go/fs v0.14.0
gorm.io/driver/sqlserver v1.5.3
gorm.io/gorm v1.25.10
github.com/farseer-go/fs v0.15.0
gorm.io/driver/sqlserver v1.5.4
gorm.io/gorm v1.25.12
)

exclude github.com/timandy/routine v1.1.3

require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/farseer-go/collections v0.14.0 // indirect
github.com/farseer-go/mapper v0.14.0 // indirect
github.com/farseer-go/collections v0.15.0 // indirect
github.com/farseer-go/mapper v0.15.0 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
github.com/golang-sql/sqlexp v0.1.0 // indirect
Expand All @@ -26,10 +24,10 @@ require (
github.com/microsoft/go-mssqldb v1.7.2 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/timandy/routine v1.1.2 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/text v0.16.0 // indirect
github.com/timandy/routine v1.1.4 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/mysql v1.5.6 // indirect
gorm.io/driver/mysql v1.5.7 // indirect
)
19 changes: 9 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ module github.com/farseer-go/data

go 1.21

toolchain go1.22.0
toolchain go1.23.3

require (
github.com/farseer-go/collections v0.14.0
github.com/farseer-go/fs v0.14.0
github.com/farseer-go/mapper v0.14.0
github.com/farseer-go/collections v0.15.0
github.com/farseer-go/fs v0.15.0
github.com/farseer-go/mapper v0.15.0
github.com/shopspring/decimal v1.4.0
github.com/stretchr/testify v1.8.4
gorm.io/driver/mysql v1.5.6
gorm.io/gorm v1.25.10
github.com/stretchr/testify v1.9.0
gorm.io/driver/mysql v1.5.7
gorm.io/gorm v1.25.12
gorm.io/hints v1.1.2
)

Expand All @@ -22,8 +22,7 @@ require (
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/timandy/routine v1.1.2 // indirect
github.com/timandy/routine v1.1.4 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

exclude github.com/timandy/routine v1.1.3

0 comments on commit bf77c75

Please sign in to comment.