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
Describe the bug It's not really a bug, but more of a "thing to do, when coding in Go"
In the generated code, there is a lot of:
if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return templ_7745c5c3_Err
but it is more idiomatic to return just nil, like this:
if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil
The text was updated successfully, but these errors were encountered:
I'd take a PR for that.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
It's not really a bug, but more of a "thing to do, when coding in Go"
In the generated code, there is a lot of:
but it is more idiomatic to return just nil, like this:
The text was updated successfully, but these errors were encountered: