We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found that if ExecuteFunc returns an error, ExecuteFuncString will use panic. I think returning an error is more reasonable. See https://github.com/valyala/fasttemplate/blob/master/template.go#L91
ExecuteFunc
ExecuteFuncString
The text was updated successfully, but these errors were encountered:
use ExecuteFuncStringWithErr instead.
ExecuteFuncStringWithErr
Sorry, something went wrong.
No branches or pull requests
I found that if
ExecuteFunc
returns an error,ExecuteFuncString
will use panic. I think returning an error is more reasonable.See https://github.com/valyala/fasttemplate/blob/master/template.go#L91
The text was updated successfully, but these errors were encountered: