1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-14 18:10:39 +00:00

rename infrastructure to core

This commit is contained in:
Ming Deng
2020-10-05 18:13:26 +08:00
parent ff7a8b966b
commit 48e98482f7
190 changed files with 129 additions and 130 deletions

View File

@ -18,7 +18,7 @@ import (
"context"
"database/sql"
"github.com/astaxie/beego/pkg/infrastructure/utils"
"github.com/astaxie/beego/pkg/core/utils"
)
// DoNothingOrm won't do anything, usually you use this to custom your mock Ormer implementation

View File

@ -19,10 +19,10 @@ import (
"reflect"
"strings"
"github.com/astaxie/beego/pkg/infrastructure/logs"
"github.com/astaxie/beego/pkg/core/logs"
"github.com/astaxie/beego/pkg/client/orm"
"github.com/astaxie/beego/pkg/infrastructure/bean"
"github.com/astaxie/beego/pkg/core/bean"
)
// DefaultValueFilterChainBuilder only works for InsertXXX method,

View File

@ -20,7 +20,7 @@ import (
"reflect"
"time"
"github.com/astaxie/beego/pkg/infrastructure/utils"
"github.com/astaxie/beego/pkg/core/utils"
)
const (

View File

@ -21,7 +21,7 @@ import (
"sync"
"testing"
"github.com/astaxie/beego/pkg/infrastructure/utils"
"github.com/astaxie/beego/pkg/core/utils"
"github.com/stretchr/testify/assert"
)

View File

@ -15,7 +15,7 @@
package hints
import (
"github.com/astaxie/beego/pkg/infrastructure/utils"
"github.com/astaxie/beego/pkg/core/utils"
)
const (

View File

@ -17,7 +17,7 @@ package migration
import (
"fmt"
"github.com/astaxie/beego/pkg/infrastructure/logs"
"github.com/astaxie/beego/pkg/core/logs"
)
// Index struct defines the structure of Index Columns

View File

@ -34,7 +34,7 @@ import (
"time"
"github.com/astaxie/beego/pkg/client/orm"
"github.com/astaxie/beego/pkg/infrastructure/logs"
"github.com/astaxie/beego/pkg/core/logs"
)
// const the data format for the bee generate migration datatype

View File

@ -63,9 +63,9 @@ import (
"time"
"github.com/astaxie/beego/pkg/client/orm/hints"
"github.com/astaxie/beego/pkg/infrastructure/utils"
"github.com/astaxie/beego/pkg/core/utils"
"github.com/astaxie/beego/pkg/infrastructure/logs"
"github.com/astaxie/beego/pkg/core/logs"
)
// DebugQueries define the debug

View File

@ -20,7 +20,7 @@ import (
"reflect"
"time"
"github.com/astaxie/beego/pkg/infrastructure/utils"
"github.com/astaxie/beego/pkg/core/utils"
)
// TableNaming is usually used by model