mirror of
https://github.com/kataras/iris.git
synced 2026-01-23 03:45:56 +00:00
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
@@ -8,11 +8,3 @@ type EngineFuncer interface {
|
||||
// AddFunc should adds a function to the template's function map.
|
||||
AddFunc(funcName string, funcBody interface{})
|
||||
}
|
||||
|
||||
// these will be added to all template engines used
|
||||
// and completes the EngineFuncer interface.
|
||||
//
|
||||
// There are a lot of default functions but some of them are placed inside of each
|
||||
// template engine because of the different behavior, i.e urlpath and url are inside framework itself,
|
||||
// yield,partial,partial_r,current and render as inside html engine etc...
|
||||
var defaultSharedFuncs = map[string]interface{}{}
|
||||
|
||||
Reference in New Issue
Block a user