I've used this for a couple of things and from what I remember it gives you a little bit more safety around what you're building compared to text/template. I've considered seeing what oapi-codegen, a Go OpenAPI code generator would look like with it, but not gotten around to it. It's a bit more overheard than plain templating for sure, and I personally feel like it can read a little easier for more complex generation, but that's probably not the case for most code generation tools

This post was filed under replies.

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.