Go templating using Templ (Go Time #291)
Go's known for it's fantastic standard library, but there are some places where the libraries can be challenging to use. The `html/template` package is one of those places. So what alternatives do we have? On today's episode we're talking about Templ, an HTML templating language for Go that has great developer tooling. Co-hosts Kris Brandow and Jon Calhoun are joined by Adrian Hesketh, the creator of Templ, and Joe Davidson, one of the maintainers on the project.
Embed this episode
Chapters
- 0:00 It's Go Time!
- 0:44 Joe and Adrian
- 2:35 Celsius vs Fahrenheit
- 4:51 HTML templating with Go
- 8:24 How old is this?
- 9:52 Bringing this into existance
- 16:40 Generating Go code
- 19:27 The 2nd generate step
- 25:31 Serverside rendering
- 36:03 Sponsor: Changelog News
- 37:42 Back to Templ
- 41:58 LSP
- 42:50 What is Templ good for?
- 49:01 Surprisingly good docs
- 52:03 Making the docs approachable
- 55:42 Unpopular opinions!
- 56:07 Adrian's unpop
- 59:23 Joe's unpop
- 1:03:04 Jon's unpop
- 1:04:00 Outro
No transcript yet.
Frequently asked questions
How long is this episode of Changelog Master Feed?
This episode is 1 hour and 5 minutes long.
When was this Changelog Master Feed episode published?
This episode was published on September 13, 2023.
Is there a transcript available for this episode?
Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.
Can I download this Changelog Master Feed episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.