Move convert into internal

This commit is contained in:
Lunny Xiao 2021-07-21 10:36:49 +08:00
parent 9f45727bdd
commit 54f54acfc3
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
19 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@ GOFMT ?= gofmt -s
TAGS ?=
SED_INPLACE := sed -i
GO_DIRS := caches contexts integrations convert core dialects internal log migrate names schemas tags
GO_DIRS := caches contexts integrations core dialects internal log migrate names schemas tags
GOFILES := $(wildcard *.go)
GOFILES += $(shell find $(GO_DIRS) -name "*.go" -type f)
INTEGRATION_PACKAGES := xorm.io/xorm/integrations

View File

@ -15,7 +15,7 @@ import (
"strconv"
"time"
"xorm.io/xorm/convert"
"xorm.io/xorm/internal/convert"
)
var errNilPtr = errors.New("destination pointer is nil") // embedded in descriptive error

View File

@ -13,7 +13,7 @@ import (
"testing"
"xorm.io/xorm"
"xorm.io/xorm/convert"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/internal/json"
"xorm.io/xorm/schemas"

View File

@ -15,8 +15,8 @@ import (
"xorm.io/builder"
"xorm.io/xorm/contexts"
"xorm.io/xorm/convert"
"xorm.io/xorm/dialects"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/internal/json"
"xorm.io/xorm/internal/utils"
"xorm.io/xorm/schemas"

View File

@ -11,8 +11,8 @@ import (
"reflect"
"time"
"xorm.io/xorm/convert"
"xorm.io/xorm/dialects"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/internal/json"
"xorm.io/xorm/internal/utils"
"xorm.io/xorm/schemas"

View File

@ -12,8 +12,8 @@ import (
"reflect"
"time"
"xorm.io/xorm/convert"
"xorm.io/xorm/dialects"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/internal/json"
"xorm.io/xorm/schemas"
)

View File

@ -11,9 +11,9 @@ import (
"reflect"
"time"
"xorm.io/xorm/convert"
"xorm.io/xorm/core"
"xorm.io/xorm/dialects"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/schemas"
)

View File

@ -18,8 +18,8 @@ import (
"strings"
"xorm.io/xorm/contexts"
"xorm.io/xorm/convert"
"xorm.io/xorm/core"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/internal/json"
"xorm.io/xorm/internal/statements"
"xorm.io/xorm/log"

View File

@ -15,8 +15,8 @@ import (
"time"
"xorm.io/xorm/caches"
"xorm.io/xorm/convert"
"xorm.io/xorm/core"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/internal/utils"
"xorm.io/xorm/schemas"
)

View File

@ -14,8 +14,8 @@ import (
"unicode"
"xorm.io/xorm/caches"
"xorm.io/xorm/convert"
"xorm.io/xorm/dialects"
"xorm.io/xorm/internal/convert"
"xorm.io/xorm/names"
"xorm.io/xorm/schemas"
)