caltechlibrary / datatools

A set of tools for working with JSON, CSV and Excel workbooks
https://caltechlibrary.github.io/datatools
Other
77 stars 10 forks source link

jsonmunge should use Mustache templates rather than Go templates #20

Closed rsdoiel closed 6 days ago

rsdoiel commented 8 months ago

The go templates are just not widely understood outside of Go developers. Mustache is common in many languages an there is a good Go Mustache package. I need to swap out the template engine for Mustache, maybe leave the go one as an option though I don't think anyone actually used it besides me.

If I do this I'll need to bump the semver from 1.2 to 1.3.

rsdoiel commented 2 months ago

Better yet, use Handlebars templates. It's an easier transition but maintains the spirit of Mustache.