You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<script>{{with.Warning}}// do something with {{.}}{{end}}</script>
inside a Go template file, and there are 2 errors in {{with '.'Warning'}'} at the parts where the single quotes are. Specifically, in VS Code it displays an error message that says: expected "(" and expected ")" respectively.
I tried restarting the tool in VS Code, and the problem still persists. Am I doing something wrong (or is there a configuration I should change but didn't) or there is an issue with JS scripts inside go templates ?
The text was updated successfully, but these errors were encountered:
I have a code similar to this:
inside a Go template file, and there are 2 errors in {{with '.'Warning'}'} at the parts where the single quotes are. Specifically, in VS Code it displays an error message that says: expected "(" and expected ")" respectively.
I tried restarting the tool in VS Code, and the problem still persists. Am I doing something wrong (or is there a configuration I should change but didn't) or there is an issue with JS scripts inside go templates ?
The text was updated successfully, but these errors were encountered: