style fmt import order

This commit is contained in:
demoManito 2022-09-26 22:55:10 +08:00
parent 328f301982
commit 7d0f88976c
10 changed files with 16 additions and 4 deletions

View File

@ -9,6 +9,7 @@ import (
"testing"
"github.com/jinzhu/now"
"gorm.io/gorm/logger"
)

View File

@ -12,6 +12,7 @@ import (
"time"
"github.com/jinzhu/now"
"gorm.io/gorm/clause"
"gorm.io/gorm/utils"
)

View File

@ -7,6 +7,7 @@ import (
"strings"
"github.com/jinzhu/inflection"
"gorm.io/gorm/clause"
)

View File

@ -5,6 +5,7 @@ import (
"testing"
"gorm.io/driver/mysql"
"gorm.io/gorm"
)

View File

@ -8,6 +8,7 @@ import (
"testing"
"gorm.io/driver/mysql"
"gorm.io/gorm"
. "gorm.io/gorm/utils/tests"
)

View File

@ -7,6 +7,7 @@ import (
"time"
"github.com/jinzhu/now"
"gorm.io/gorm"
"gorm.io/gorm/clause"
. "gorm.io/gorm/utils/tests"

View File

@ -3,13 +3,9 @@ module gorm.io/gorm/tests
go 1.16
require (
github.com/denisenkom/go-mssqldb v0.12.2 // indirect
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
github.com/google/uuid v1.3.0
github.com/jinzhu/now v1.1.5
github.com/lib/pq v1.10.7
github.com/mattn/go-sqlite3 v1.14.15 // indirect
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
gorm.io/driver/mysql v1.3.6
gorm.io/driver/postgres v1.3.10
gorm.io/driver/sqlite v1.3.6
@ -17,4 +13,11 @@ require (
gorm.io/gorm v1.23.9
)
require (
github.com/denisenkom/go-mssqldb v0.12.2 // indirect
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
github.com/mattn/go-sqlite3 v1.14.15 // indirect
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
)
replace gorm.io/gorm => ../

View File

@ -9,6 +9,7 @@ import (
"time"
"gorm.io/driver/postgres"
"gorm.io/gorm"
"gorm.io/gorm/schema"
. "gorm.io/gorm/utils/tests"

View File

@ -6,6 +6,7 @@ import (
"github.com/google/uuid"
"github.com/lib/pq"
"gorm.io/gorm"
)

View File

@ -11,6 +11,7 @@ import (
"gorm.io/driver/postgres"
"gorm.io/driver/sqlite"
"gorm.io/driver/sqlserver"
"gorm.io/gorm"
"gorm.io/gorm/logger"
. "gorm.io/gorm/utils/tests"