mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
New: i18n pluralization and variables support and more...
fixes: #1649, #1648, #1641, #1650 relative to: #1597
This commit is contained in:
@@ -63,7 +63,13 @@ func (s *AmberEngine) RootDir(root string) *AmberEngine {
|
||||
return s
|
||||
}
|
||||
|
||||
// Name returns the amber engine's name.
|
||||
func (s *AmberEngine) Name() string {
|
||||
return "Amber"
|
||||
}
|
||||
|
||||
// Ext returns the file extension which this view engine is responsible to render.
|
||||
// If the filename extension on ExecuteWriter is empty then this is appended.
|
||||
func (s *AmberEngine) Ext() string {
|
||||
return s.extension
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user