mirror of
https://github.com/astaxie/beego.git
synced 2025-06-15 04:40:39 +00:00
rename infrastructure to core
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// GetFuncName get function name
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// Display print the data in console
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// SelfPath gets compiled executable file absolute path
|
||||
|
@ -17,7 +17,7 @@ package utils
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// Email is the type used for email messages
|
||||
|
@ -17,7 +17,7 @@ package pagination
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils/pagination"
|
||||
"github.com/astaxie/beego/pkg/core/utils/pagination"
|
||||
)
|
||||
|
||||
// Paginator within the state of a http request.
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// RandomCreateBytes generate random []byte by specify chars.
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// BeeMap is a map with lock
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
type reducetype func(interface{}) interface{}
|
||||
|
@ -1,7 +1,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// GetGOPATHs returns all paths in GOPATH variable.
|
||||
|
Reference in New Issue
Block a user