hairyhenderson / gomplate

A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
https://gomplate.ca
MIT License
2.49k stars 176 forks source link

Using Gomplate as a library #2029

Open obvionaoe opened 1 month ago

obvionaoe commented 1 month ago

Hi would it be possible to use Gomplate as a library? You've made quite a few handy wrappers over parsers that would be very handy in my project, but all those functions are private in your module :)

Thanks

hairyhenderson commented 1 month ago

handy wrappers over parsers

Which are you looking to use, in particular?

In general, it should be a case of calling gomplate.Renderer#Render.