rename to v2

This commit is contained in:
Ming Deng
2020-12-14 11:12:00 +08:00
parent a70f7fc920
commit 7bc6010604
241 changed files with 489 additions and 489 deletions

View File

@@ -20,8 +20,8 @@
//
// Usage:
// import(
// _ "github.com/beego/beego/config/xml"
// "github.com/beego/beego/config"
// _ "github.com/beego/beego/v2/config/xml"
// "github.com/beego/beego/v2/config"
// )
//
// cnf, err := config.NewConfig("xml", "config.xml")
@@ -41,8 +41,8 @@ import (
"github.com/mitchellh/mapstructure"
"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"
"github.com/beego/x2j"
)

View File

@@ -21,7 +21,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/beego/beego/core/config"
"github.com/beego/beego/v2/core/config"
)
func TestXML(t *testing.T) {