After last episode with Templ maintainers I was really pumped to try Templ and see if it would work for me. Without spoiling too much I believe it would have been easier to start from scratch with Templ vs. trying to migrate an existing project.
This led me to try and see if I could add static analysis of my templates in my library tpl. I don't really have a PoC yet, but kind of getting close to it. If everything continue I should be able to capture errors in using of wrong field in template, like typos in field name that are caught at runtime at this moment.
Links: https://github.com/dstpierre/tpl
Also if you want to support this show, this is a 50% discount on my courses: Build SaaS apps in Go and Build a Google Analytics in Go.
09/30/24 • 36 min
go podcast() - Toying with static analysis of HTML templates
Transcript
Hello, gophers. So there will not be any kind of intro for this podcast. So, basically, we are September 30th, today 30, And it's the International Podcast Day apparently. And, my podcast Ooster, which is a transistor.fm is doing some kind of, special day today. So I mean, every every one of their clients that is posting an episode today might, have the chance to win a Shure SB 7, mic, which which I would would love to to get. So hopefully, I will
Generate a badge
Get a badge for your website that links back to this episode
<a href="https://goodpods.com/podcasts/go-podcast-481108/toying-with-static-analysis-of-html-templates-75110285"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to toying with static analysis of html templates on goodpods" style="width: 225px" /> </a>
Copy