goview
goview copied to clipboard
How to use Multitemplate for gin?
I see in your example using different template like 'gvFrontend' and 'gvBackend', But in gin, we can only pass one ViewEngine. Is there any example for gin?
See the example: https://github.com/foolin/goview/tree/master/_examples/gin-multiple
oh, there are ginview.NewMiddleware
for that, thanks.
Then, do we need to set router.HTMLRender
to use goviev if i want to use all multiple template using middleware instead?