Skip to content

Commit

Permalink
change mod name
Browse files Browse the repository at this point in the history
  • Loading branch information
xxjwxc committed Feb 2, 2024
1 parent ac4b0f6 commit aad15ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gorm.io/driver/clickhouse
module github.com/xxjwxc/clickhouse

go 1.21

Expand Down
6 changes: 3 additions & 3 deletions migrator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

clickhousego "github.com/ClickHouse/clickhouse-go/v2"
"gorm.io/driver/clickhouse"
"github.com/xxjwxc/clickhouse"
"gorm.io/gorm"
)

Expand Down Expand Up @@ -111,9 +111,9 @@ func TestMigrator_DontSupportEmptyDefaultValue(t *testing.T) {
if err != nil {
t.Fatalf("Can not parse dsn, got error %v", err)
}

DB, err := gorm.Open(clickhouse.New(clickhouse.Config{
Conn: clickhousego.OpenDB(options),
Conn: clickhousego.OpenDB(options),
DontSupportEmptyDefaultValue: true,
}))
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"time"

"gorm.io/driver/clickhouse"
"github.com/xxjwxc/clickhouse"
"gorm.io/gorm"
)

Expand Down
2 changes: 1 addition & 1 deletion update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"gorm.io/driver/clickhouse"
"github.com/xxjwxc/clickhouse"
"gorm.io/gorm"
"gorm.io/gorm/utils/tests"
)
Expand Down

0 comments on commit aad15ea

Please sign in to comment.