1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

🎄 Merry Christmas everyone

minor fixes
This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-12-26 00:01:01 +02:00
parent e213dba0d3
commit 62a1829cb9
6 changed files with 20 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ func (v *View) AddFunc(funcName string, funcBody interface{}) {
// Load compiles all the registered engines.
func (v *View) Load() error {
if !v.Registered() {
return fmt.Errorf("No engine is registered")
return fmt.Errorf("no engine was registered")
}
return v.Engine.Load()
}