mirror of
https://github.com/astaxie/beego.git
synced 2025-08-02 11:05:32 +00:00
rename infrastructure to core
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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.
|
||||
|
2
pkg/adapter/config/env/env.go
vendored
2
pkg/adapter/config/env/env.go
vendored
@@ -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.
|
||||
|
@@ -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
|
||||
|
@@ -15,5 +15,5 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/config/json"
|
||||
_ "github.com/astaxie/beego/pkg/core/config/json"
|
||||
)
|
||||
|
@@ -30,5 +30,5 @@
|
||||
package xml
|
||||
|
||||
import (
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/config/xml"
|
||||
_ "github.com/astaxie/beego/pkg/core/config/xml"
|
||||
)
|
||||
|
@@ -30,5 +30,5 @@
|
||||
package yaml
|
||||
|
||||
import (
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/config/yaml"
|
||||
_ "github.com/astaxie/beego/pkg/core/config/yaml"
|
||||
)
|
||||
|
Reference in New Issue
Block a user