rename to v2
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
//
|
||||
// Usage:
|
||||
// import(
|
||||
// _ "github.com/beego/beego/config/yaml"
|
||||
// "github.com/beego/beego/config"
|
||||
// _ "github.com/beego/beego/v2/config/yaml"
|
||||
// "github.com/beego/beego/v2/config"
|
||||
// )
|
||||
//
|
||||
// cnf, err := config.NewConfig("yaml", "config.yaml")
|
||||
@@ -43,8 +43,8 @@ import (
|
||||
"github.com/beego/goyaml2"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
"github.com/beego/beego/core/config"
|
||||
"github.com/beego/beego/core/logs"
|
||||
"github.com/beego/beego/v2/core/config"
|
||||
"github.com/beego/beego/v2/core/logs"
|
||||
)
|
||||
|
||||
// Config is a yaml config parser and implements Config interface.
|
||||
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/beego/beego/core/config"
|
||||
"github.com/beego/beego/v2/core/config"
|
||||
)
|
||||
|
||||
func TestYaml(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user