forked from mirror/gorm
Fix package path
This commit is contained in:
parent
e986371a42
commit
5790ba9ef4
6
go.mod
6
go.mod
|
@ -6,9 +6,9 @@ require (
|
|||
github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc
|
||||
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5
|
||||
github.com/go-sql-driver/mysql v1.5.0
|
||||
gorm.io/gorm v1.9.12
|
||||
gorm.io/inflection v1.0.0
|
||||
gorm.io/now v1.1.1
|
||||
github.com/jinzhu/inflection v1.0.0
|
||||
github.com/jinzhu/now v1.1.1
|
||||
github.com/lib/pq v1.1.1
|
||||
github.com/mattn/go-sqlite3 v2.0.1+incompatible
|
||||
gorm.io/gorm v1.9.12
|
||||
)
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"regexp"
|
||||
"testing"
|
||||
|
||||
"github.com/jinzhu/now"
|
||||
"gorm.io/gorm/logger"
|
||||
"gorm.io/now"
|
||||
)
|
||||
|
||||
func TestExplainSQL(t *testing.T) {
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/jinzhu/now"
|
||||
"gorm.io/gorm/utils"
|
||||
"gorm.io/now"
|
||||
)
|
||||
|
||||
type DataType string
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"sync"
|
||||
"unicode/utf8"
|
||||
|
||||
"gorm.io/inflection"
|
||||
"github.com/jinzhu/inflection"
|
||||
)
|
||||
|
||||
// Namer namer interface
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/jinzhu/inflection"
|
||||
"gorm.io/gorm/clause"
|
||||
"gorm.io/inflection"
|
||||
)
|
||||
|
||||
// RelationshipType relationship type
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jinzhu/now"
|
||||
"gorm.io/gorm"
|
||||
. "gorm.io/gorm/tests"
|
||||
"gorm.io/now"
|
||||
)
|
||||
|
||||
func TestCreate(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue