Fix package path

This commit is contained in:
Jinzhu 2020-06-02 09:25:55 +08:00
parent e986371a42
commit 5790ba9ef4
6 changed files with 8 additions and 8 deletions

6
go.mod
View File

@ -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
)

View File

@ -4,8 +4,8 @@ import (
"regexp"
"testing"
"github.com/jinzhu/now"
"gorm.io/gorm/logger"
"gorm.io/now"
)
func TestExplainSQL(t *testing.T) {

View File

@ -10,8 +10,8 @@ import (
"sync"
"time"
"github.com/jinzhu/now"
"gorm.io/gorm/utils"
"gorm.io/now"
)
type DataType string

View File

@ -7,7 +7,7 @@ import (
"sync"
"unicode/utf8"
"gorm.io/inflection"
"github.com/jinzhu/inflection"
)
// Namer namer interface

View File

@ -6,8 +6,8 @@ import (
"regexp"
"strings"
"github.com/jinzhu/inflection"
"gorm.io/gorm/clause"
"gorm.io/inflection"
)
// RelationshipType relationship type

View File

@ -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) {