Hello!
We're using the default HTML engine middleware. We want to return an error if a variable is not passed as a parameter.
It is possible to configure this behavior with a plain text/template package using the template.Option("missingkey=error") method here.
Is there a way to raise an error if there's no variable defined using Fiber's engine?
Hello!
We're using the default HTML engine middleware. We want to return an error if a variable is not passed as a parameter.
It is possible to configure this behavior with a plain
text/templatepackage using thetemplate.Option("missingkey=error")method here.Is there a way to raise an error if there's no variable defined using Fiber's engine?