[Improvement]: ๐ Interface for the template engines
Closed this issue ยท 2 comments
To make sure that all template engines have the same interface and thus core functionalities, we should create an interface
example:
https://github.com/gofiber/fiber/blob/6770e45590fecea4c43a749e374c73868638a4d1/ctx.go#L139-L142
How should we handle breaking changes ?
Maybe we should provide the interfaces with versions suffixes or prefixes
Since it is possible to have different versions through the multi release repository, we should find a solution for the different major versions
This should prevent features from being forgotten in other eniges
#241
Hey I thought I gave this a shot.
I've added an example for the pug templating engine on how it would look like with an interface, please check #251.
This can be closed now.