Skip to content

Commit 4eb4551

Browse files
author
yulei1
committed
v1.9.21
1 parent dd9c9d6 commit 4eb4551

18 files changed

+21
-24
lines changed

association_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sort"
88
"testing"
99

10-
"github.com/jinzhu/gorm"
10+
"github.com/goees/jinzhu-gorm"
1111
)
1212

1313
func TestBelongsTo(t *testing.T) {

callbacks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"reflect"
66
"testing"
77

8-
"github.com/jinzhu/gorm"
8+
"github.com/goees/jinzhu-gorm"
99
)
1010

1111
func (s *Product) BeforeCreate() (err error) {

customize_column_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55
"time"
66

7-
"github.com/jinzhu/gorm"
7+
"github.com/goees/jinzhu-gorm"
88
)
99

1010
type CustomizeColumn struct {

dialects/mssql/mssql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// Importing mssql driver package only in dialect file, otherwide not needed
1414
_ "github.com/denisenkom/go-mssqldb"
15-
"github.com/jinzhu/gorm"
15+
"github.com/goees/jinzhu-gorm"
1616
)
1717

1818
func setIdentityInsert(scope *gorm.Scope) {

errors_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"testing"
66

7-
"github.com/jinzhu/gorm"
7+
"github.com/goees/jinzhu-gorm"
88
)
99

1010
func TestErrorsCanBeUsedOutsideGorm(t *testing.T) {

field_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"testing"
88

9-
"github.com/jinzhu/gorm"
9+
"github.com/goees/jinzhu-gorm"
1010
)
1111

1212
type CalculateField struct {

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.12
55
require (
66
github.com/denisenkom/go-mssqldb v0.0.0-20190515213511-eb9f6a1743f3
77
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5
8-
//github.com/go-sql-driver/mysql v1.4.1
98
github.com/goees/go-mysql v1.5.1
109
github.com/jinzhu/inflection v1.0.0
1110
github.com/jinzhu/now v1.0.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a
2121
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
2222
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
2323
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
24-
github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA=
25-
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
2624
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
2725
github.com/goees/go-mysql v1.5.1 h1:Q/uCxSET2fFMkhy8xUxIqIBJGflYM3GTG2BRoXUrimI=
2826
github.com/goees/go-mysql v1.5.1/go.mod h1:SG558muorU1pCBK6c1tu0YCuIzJVsXqoVcKidiYVni8=

join_table_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/jinzhu/gorm"
9+
"github.com/goees/jinzhu-gorm"
1010
)
1111

1212
type Person struct {

main_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ import (
1919
"time"
2020

2121
"github.com/erikstmartin/go-testdb"
22-
"github.com/jinzhu/gorm"
23-
_ "github.com/jinzhu/gorm/dialects/mssql"
24-
_ "github.com/jinzhu/gorm/dialects/mysql"
25-
"github.com/jinzhu/gorm/dialects/postgres"
26-
_ "github.com/jinzhu/gorm/dialects/sqlite"
22+
"github.com/goees/jinzhu-gorm"
23+
_ "github.com/goees/jinzhu-gorm/dialects/mssql"
24+
_ "github.com/goees/jinzhu-gorm/dialects/mysql"
25+
"github.com/goees/jinzhu-gorm/dialects/postgres"
26+
_ "github.com/goees/jinzhu-gorm/dialects/sqlite"
2727
"github.com/jinzhu/now"
2828
)
2929

0 commit comments

Comments
 (0)