Replies: 1 comment
-
@Himan10 Please read the documentation at https://docs.gomplate.ca and have a look at the various discussions for an idea of what gomplate is, and can do. And if you're still not sure, install it and try it out. Using it might help to understand. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! First of all, sorry for posting this noob question as I am fairly new to Go and have recently been assigned a task related to template rendering in Go. I found this project via Reddit, but I am not able to figure out the actual use case of gomplate. As mentioned in the documentation, one of the examples shows the replacement of environment variables with keywords in gomplate. What's the actual reason to do this? Does it mean to populate the template with fields present in different data sources such as JSON, YAML files, ENV (environment variables), or CSV, etc.?
What I initially thought is that gomplate will make use of these mentioned data sources and replace the placeholders present in the actual template with the values from those data sources. Is that correct?
Please explain to me, if possible, the behind-the-scenes working of gomplate and how it helps developers.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions