mirror of
https://github.com/kataras/iris.git
synced 2026-01-22 19:36:00 +00:00
Remove unused Plugin's custom callbacks.
This commit is contained in:
4
iris.go
4
iris.go
@@ -84,7 +84,7 @@ import (
|
||||
|
||||
const (
|
||||
// Version of the iris
|
||||
Version = "4.1.4"
|
||||
Version = "4.1.5"
|
||||
|
||||
banner = ` _____ _
|
||||
|_ _| (_)
|
||||
@@ -211,7 +211,7 @@ func New(cfg ...config.Iris) *Framework {
|
||||
// set the Logger
|
||||
s.Logger = logger.New(logger.DefaultConfig())
|
||||
// set the plugin container
|
||||
s.Plugins = &pluginContainer{logger: s.Logger}
|
||||
s.Plugins = newPluginContainer(s.Logger)
|
||||
// set the templates
|
||||
s.templates = newTemplateEngines(map[string]interface{}{
|
||||
"url": s.URL,
|
||||
|
||||
Reference in New Issue
Block a user