1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-14 10:40: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

@ -19,7 +19,7 @@ import (
"github.com/pkg/errors"
"github.com/astaxie/beego/pkg/infrastructure/config"
"github.com/astaxie/beego/pkg/core/config"
)
type newToOldConfigerAdapter struct {

View File

@ -41,7 +41,7 @@
package config
import (
"github.com/astaxie/beego/pkg/infrastructure/config"
"github.com/astaxie/beego/pkg/core/config"
)
// Configer defines how to get and set value from configuration raw data.

View File

@ -17,7 +17,7 @@
package env
import (
"github.com/astaxie/beego/pkg/infrastructure/config/env"
"github.com/astaxie/beego/pkg/core/config/env"
)
// Get returns a value by key.

View File

@ -15,7 +15,7 @@
package config
import (
"github.com/astaxie/beego/pkg/infrastructure/config"
"github.com/astaxie/beego/pkg/core/config"
)
// NewFakeConfig return a fake Configer

View File

@ -15,5 +15,5 @@
package config
import (
_ "github.com/astaxie/beego/pkg/infrastructure/config/json"
_ "github.com/astaxie/beego/pkg/core/config/json"
)

View File

@ -30,5 +30,5 @@
package xml
import (
_ "github.com/astaxie/beego/pkg/infrastructure/config/xml"
_ "github.com/astaxie/beego/pkg/core/config/xml"
)

View File

@ -30,5 +30,5 @@
package yaml
import (
_ "github.com/astaxie/beego/pkg/infrastructure/config/yaml"
_ "github.com/astaxie/beego/pkg/core/config/yaml"
)