News for hackers. Stuff that matters.
Re:Ask HN: What GO web framework do you use? by elt on Thursday July 21, 2022 @04:54PM (#32184908)
I have never used Jinja/Twig, but I have used handlebars, ERB, JSX and other similar templating systems.

Overall, I find Go's template system to be a bit clunky but it certainly gets the job done. The template system is fairly minimal so it feels mostly like working with HTML, but it gives you a few tools to use.. mainly passing data down the template/sub-templates and the ability to define template functions/helpers. Minimal... but it's all you really need.

I converted my business from Rails 5 to Go about a year ago and the ERB was fairly straight forward to convert to Go's template system.. it felt like I was mostly converting <% .. %> to {{ .. }} and changing <%= render ... %> to {{ template ... }}

Re:Ask HN: What GO web framework do you use? by JodieBenitez on Friday July 22, 2022 @06:26PM (#32197846)
Thanks, I guess I should try the standard lib before anything else then.