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
So I need a template function that will wrap double quotes around a provided string. So something like this: {{ stringify "this string" }}. Right now go templates will not enclose the string with quotes so I have to do something like this: `"{{"this string"}}". Which looks weird when Im using go templates to output configuration files.
The text was updated successfully, but these errors were encountered:
So I need a template function that will wrap double quotes around a provided string. So something like this:
{{ stringify "this string" }}
. Right now go templates will not enclose the string with quotes so I have to do something like this: `"{{"this string"}}". Which looks weird when Im using go templates to output configuration files.The text was updated successfully, but these errors were encountered: