-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
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
html/template: expose ErrJSTemplate #59584
Comments
Can we find a more readable name? It reads like a cryptic C name more than a Go template. |
This proposal has been added to the active column of the proposals project |
I like ErrJSTemplate. |
Based on the discussion above, this proposal seems like a likely accept. |
No change in consensus, so accepted. 🎉 |
Change https://go.dev/cl/496395 mentions this issue: |
Change https://go.dev/cl/501698 mentions this issue: |
For #59584 Change-Id: Iaa3f8b23010ad452c134ac608c63d2a41cc4e409 Reviewed-on: https://go-review.googlesource.com/c/go/+/501698 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Bypass: Ian Lance Taylor <iant@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
In CL482079 we added the unexported error code
errJSTmplLit
for when an action appears in a JS template literal. Since we added this in a minor security release, we could not export it. We should export it so that users can compare error codes directly.The text was updated successfully, but these errors were encountered: