You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cannot use mustache (variable of type *"github.com/gofiber/template/mustache/v2".Engine) as "github.com/gofiber/template".IEngine value in return statement: *"github.com/gofiber/template/mustache/v2".Engine does not implement "github.com/gofiber/template".IEngine (wrong type for method AddFunc)
have AddFunc(string, interface{}) *"github.com/gofiber/template".Engine
want AddFunc(string, interface{}) "github.com/gofiber/template".IEngineCore
ip75
changed the title
🤗 [Question]: How to export mustache engine as template.IEngine ?
🤗 [Question]: How to export mustache engine as a template.IEngine ?
Sep 29, 2023
Question Description
error:
Code Snippet (optional)
I looked through template.go and see that you returns
*Engine
instead ofIEngineCore
in all interface methodsChecklist:
The text was updated successfully, but these errors were encountered: