httplib: fix unstable test, do not use httplib.org
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
// go install github.com/beego/x2j.
|
||||
//
|
||||
// Usage:
|
||||
// import(
|
||||
// _ "github.com/beego/beego/v2/core/config/xml"
|
||||
// "github.com/beego/beego/v2/core/config"
|
||||
// )
|
||||
//
|
||||
// cnf, err := config.NewConfig("xml", "config.xml")
|
||||
// import(
|
||||
// _ "github.com/beego/beego/v2/core/config/xml"
|
||||
// "github.com/beego/beego/v2/core/config"
|
||||
// )
|
||||
//
|
||||
// cnf, err := config.NewConfig("xml", "config.xml")
|
||||
package xml
|
||||
|
||||
import (
|
||||
@@ -40,9 +40,10 @@ import (
|
||||
|
||||
"github.com/mitchellh/mapstructure"
|
||||
|
||||
"github.com/beego/x2j"
|
||||
|
||||
"github.com/beego/beego/v2/core/config"
|
||||
"github.com/beego/beego/v2/core/logs"
|
||||
"github.com/beego/x2j"
|
||||
)
|
||||
|
||||
// Config is a xml config parser and implements Config interface.
|
||||
|
||||
Reference in New Issue
Block a user