gofiber/template

Engine.Load() always return nil

michail-vestnik opened this issue · 1 comments

Fiber version

Latest (2.26.0)

Issue description

I tried rereading the templates, but could not find a situation where Load() would work. Then I went to look at the code and found it:

Code snippet

fiber

I deleted these lines and everything worked correctly.

Спасибо!

these lines are for checking that the load has already been executed

we should fix the reload function which can make the template files be reloaded again

so that you can trigger this manually