Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
html/template: parse failures lack sufficient context for debugging #20773
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Any idea when this might be addressed? Just ran smack into it when trying to make changes to a golang project:
There's no line number in this error message and I have no idea aside from just commenting out vast swaths of template how to start finding the problem.
@skimbrel I opened #30635 to track your specific error, which is not what this bug is about. The issue with your problem is that the provided template ends unexpectedly. That error is saying "unexpected EOF while parsing".
About this bug: how would you thing should errors be reported?
@zaddok could you please post here your errors and what you'd like to have instead?