merge apiPlugins with appPlugins

This commit is contained in:
Anthony Woods
2016-01-22 01:15:04 +08:00
parent 28fabadeae
commit f94599cd29
7 changed files with 33 additions and 84 deletions
-2
View File
@@ -45,7 +45,6 @@ type PluginStaticRoute struct {
type EnabledPlugins struct {
Panels []*PanelPlugin
DataSources map[string]*DataSourcePlugin
ApiList []*ApiPlugin
Apps []*AppPlugin
}
@@ -53,7 +52,6 @@ func NewEnabledPlugins() EnabledPlugins {
return EnabledPlugins{
Panels: make([]*PanelPlugin, 0),
DataSources: make(map[string]*DataSourcePlugin),
ApiList: make([]*ApiPlugin, 0),
Apps: make([]*AppPlugin, 0),
}
}