mirror of
https://github.com/kataras/iris.git
synced 2026-01-02 17:57:11 +00:00
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
@@ -29,15 +29,3 @@ type Engine interface {
|
||||
// Ext should return the final file extension which this view engine is responsible to render.
|
||||
Ext() string
|
||||
}
|
||||
|
||||
type namedEngine interface {
|
||||
String() string
|
||||
}
|
||||
|
||||
func getEngineName(e Engine) string {
|
||||
if n, ok := e.(namedEngine); ok {
|
||||
return n.String()
|
||||
}
|
||||
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user