MCPcopy Create free account
hub / github.com/devfeel/dotweb / newConfigDotWeb

Function newConfigDotWeb

dotweb_test.go:48–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func newConfigDotWeb() *DotWeb {
49 app := New()
50 appConfig, err := config.InitConfig("config/testdata/dotweb.conf", "xml")
51 if err != nil {
52 fmt.Println("dotweb.InitConfig error => " + fmt.Sprint(err))
53 return nil
54 }
55 app.Logger().SetEnabledConsole(true)
56 app.SetConfig(appConfig)
57 return app
58}

Callers 2

TestNotifyPlugin_NameFunction · 0.85

Calls 5

InitConfigFunction · 0.92
NewFunction · 0.85
SetConfigMethod · 0.80
SetEnabledConsoleMethod · 0.65
LoggerMethod · 0.45

Tested by

no test coverage detected