Replies: 1 comment
-
Hi, I did not know about this issue but it seems to be well known go templates limitation Luckily with simple workaround: In your case:
Or you can create template file myTemplate.tmpl with content:
Then run:
I've added this to documentation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My json is mpcorto1.json:
{
"FD-LdPD-112": {
"lang": "es-AR",
"S5-Final": "rik"
}
}
to run bafi.exe
bafi.exe -i mpcorto1.json -t "?{{.FD-LdPD-112.lang}}"
An error occurs
2022/04/07 10:00:24 parseTemplate: template: new:1: bad character U+002D '-'
How can I use tags that have the "-" sign?
Gracias!
Ricardo Mason
Beta Was this translation helpful? Give feedback.
All reactions