---
title: "templUI brings shadcn-style components to Go and templ"
publication: "Go Weekly"
issue: 594
published_at: "2026-03-20"
canonical_url: "https://golangweekly.com/issues/594"
---

Plus a new Go PDF library, benchmarks comparing Go 1.24, 1.25, and 1.26, and a curated list of packages to use in backend apps.        

#​594 — March 20, 2026 

[Read the Web Version](https://golangweekly.com/issues/594)  

Together with [![Tiger Data logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_1280,h_282/e_make_transparent/co_white,e_outline:30/px1u7kjyvz7xnbm6ytir.png)](https://www.tigerdata.com/timescaledb?utm_source=cooperpress&utm_medium=referral&utm_campaign=golang-weekly-newsletter)   

Go Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/iytsxyfp7sm5ofg9y2qe.jpg)](https://templui.io/)  

[templUI: Customizable UI Components for Go and templ](https://templui.io/) — [templ](https://templ.guide/) is essentially Go’s answer to JSX. Rather than writing `html/template` templates, you write [type-safe Go with embedded view code](https://templ.guide/syntax-and-usage/basic-syntax). [templUI](https://templui.io/) then offers a [suite of UI components](https://templui.io/docs/components) and [themes](https://templui.io/docs/themes), leaning on Tailwind CSS, to use with templ. 

Axel Adrian / Adrian Hesketh   

💡 Using the Go + [htmx](https://htmx.org/) + templ stack for building Go-backed webapps isn't a new idea (the so-called [GoTH stack](https://thefridaydeploy.substack.com/p/my-6-months-with-the-goth-stack-building)) but _templUI_ adds an incredibly useful [shadcn](https://ui.shadcn.com/)-like component library to the mix.  [![\](https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/84cb24ad.png)](https://www.tigerdata.com/timescaledb?utm_source=cooperpress&utm_medium=referral&utm_campaign=golang-weekly-newsletter) 

[One Database Is Simpler Than Two. That's the Point](https://www.tigerdata.com/timescaledb?utm_source=cooperpress&utm_medium=referral&utm_campaign=golang-weekly-newsletter) — Adding a second database means pipelines, sync lag, and drift. TimescaleDB extends Postgres with hypertables, 95% compression, and continuous aggregates. Run analytics on live data without splitting your architecture. [Start building for free](https://www.tigerdata.com/timescaledb?utm_source=cooperpress&utm_medium=referral&utm_campaign=golang-weekly-newsletter). 

Tiger Data (creators of TimescaleDB) sponsor   

[Package Recommendations for Production Server Development](https://www.winterjung.dev/en/golang-pkgs-for-production-server/) — An experienced Go developer’s curated roundup of the most useful third-party packages for server-side Go development, covering everything from testing and logging to caching, ORMs, and Kafka clients. 

Winter Jung   

🇰🇷 The article above is also [available in its original Korean version](https://www.winterjung.dev/golang-pkgs-for-production-server/).  

📊 [Go Perf Numbers You Can Trace Back to Something](https://goperf.dev/blog/2026/03/11/go-performance-numbers-you-can-actually-trace-back-to-something/) — The [Go Optimization Guide](https://goperf.dev/) has been updated with benchmarks backing up its advice (e.g. the [memory preallocation](https://goperf.dev/01-common-patterns/mem-prealloc/) page). There’s also now a suite of [‘Go Version Performance Tracking’ benchmarks](https://goperf.dev/03-version-tracking/) that show how performance differs between Go 1.24, 1.25, and 1.26 on different platforms. 

Alexander Stavonin   

⚠️ [gRPC-Go has an authorization bypass vulnerability.](https://github.com/advisories/GHSA-p77j-4mvh-x3m3) gRPC-Go users are encouraged to upgrade to v1.79.3 ASAP. 

📄 [In Praise of the `etcd` Codebase](https://rednafi.com/shards/2026/03/etcd-codebase/) – _“This has become my go-to whenever I’m wiring up another gRPC service at work.”_ Redowan Delowar 

📄 [How to Profile a Go App: The Complete `pprof` Guide](https://fulmenflux.co/blog/go/complete-guide-to-profile-golang-services-in-production/) – A broad guide to using the `pprof` toolchain to diagnose CPU bottlenecks, memory leaks, goroutines, and more. Cristian Curteanu 

📄 [I Think Dependency Cooldowns Would Be a Good Idea for Go](https://utcc.utoronto.ca/~cks/space/blog/programming/GoDependencyCooldownsGood) Chris Siebenmann 

📺 [Developing a 2FA Desktop Client in Go with Wails](https://www.youtube.com/watch?v=HFu3CUtrOQ8) Package Main  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/vheape46exxzlds7vlyj.jpg)](https://github.com/fatih/color)  

[color 1.19.0: A Color Text Output Package](https://github.com/fatih/color) — It’s been _over a decade_ since we first featured this library, now essentially the _de facto_ choice for emitting colorized output, but as it’s a quiet week, why not celebrate Fatih’s tireless work keeping it up to date? [v1.19.0](https://github.com/fatih/color/releases/tag/v1.19.0) is a small bugfix and dependency update release. 

Fatih Arslan   

[Build Reliable Systems with Go at Replay 2026](https://replay.temporal.io/?utm_source=newsletter&utm_medium=sponsorship&utm_campaign=newsletter-2026-03-20-go&utm_content=replay-2026-go) — Learn proven reliability patterns at scale and join the Go workshop to build with Temporal. Save with GO80. 

Temporal Technologies sponsor   

📄 [Folio: A New, Modern PDF Library for Go](https://github.com/carlos7ags/folio) — A fresh take on generating PDFs from Go, including a layout engine, form and digital signature support, HTML-to-PDF, etc. There’s also a WASM build you can [play with in this online playground.](https://folio-playground.pages.dev/) _(Note: This is a very new, Claude-assisted project.)_ 

Carlos Munoz   

💡 Other established options in the Go PDF generation world include [UniPDF](https://unidoc.io/unipdf/) (commercial), [gopdf](https://github.com/signintech/gopdf), and [fpdf](https://codeberg.org/go-pdf/fpdf) (and its unmaintained predecessor [gofpdf](https://github.com/jung-kurt/gofpdf)).  

[gdu 5.34.0: A Disk Usage Analyzer with Console Interface](https://github.com/dundee/gdu) — Written in Go, naturally. This is a neat tool. Rapidly analyze your disk space usage – it benchmarks strongly against other tools in the space. 

Daniel Milde   

[GoDoc Live: Statically Analyze Go HTTP Services to Produce Docs](https://github.com/syst3mctl/godoclive) — The idea is simple: your handlers already describe your API, so why not statically analyze them and extract the routes, params, request bodies, and response shapes to produce documentation? Supports Chi, Gin, and Go 1.22+ `net/http` routing. 

nicolas ggd   

- [Hugo v0.158.0](https://github.com/gohugoio/hugo/releases/tag/v0.158.0) – The popular Go-powered static site generator adds native bundling/transformation/minifying of CSS resources.
- [pq 1.12](https://github.com/lib/pq/releases/tag/v1.12.0) – Postgres driver for `database/sql`. Note that the next release may change the default sslmode from `require` to `prefer`, and `CopyIn()` and `CopyInToSchema()` have been deprecated.
- [EGo 1.9](https://github.com/edgelesssys/ego) – A Go compiler for building confidential Go apps running in enclaves on [Intel SGX-enabled hardware.](https://en.wikipedia.org/wiki/Software_Guard_Extensions)
- [ncruces/go-sqlite3 0.32](https://github.com/ncruces/go-sqlite3) – `database/sql`-compatible SQLite 3.51.3 driver without requiring Cgo.
- [argon2 1.5](https://github.com/matthewhartstonge/argon2) – Pure Go Argon2 implementation for secure password hashing.
- [GoSQLX 1.13](https://gosqlx.dev/) – SQL parser and AST generator and toolkit. ([Playground.](https://gosqlx.dev/playground/))
- [wasm2go 0.2](https://github.com/ncruces/wasm2go) – Experimental WebAssembly to Go translator.
- [go-tui 0.8](https://www.go-tui.dev/) – Declarative, reactive terminal UI framework.
- [html2text 1.4](https://github.com/k3a/html2text) – HTML to plain text conversion library.
- [MGPUSIM 4.2](https://github.com/sarchlab/mgpusim) – AMD GCN3-based GPU simulator.
- [gosaml2 0.11](https://github.com/russellhaering/gosaml2) – Pure Go SAML 2.0 implementation.
- [gotreesitter 0.10](https://github.com/odvcencio/gotreesitter/releases/tag/v0.10.0) – Pure Go tree-sitter runtime.      

📰 Classifieds   

👾 You've read the Jepsen reports. You've debugged outages at 2am. Your people are at [BugBash](https://antithesis.com/bugbash/conference2026/). April 23-24, DC.    

📢 Elsewhere in the ecosystem 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/uxbz5vuhazebhrwjdgex.jpg)](https://www.cs.unc.edu/~stotts/COMP590-059-f24/robsrules.html)  

- Back in 1989, Rob Pike, famous not only for his work on Go but also for co-creating UTF-8, wrote [Rob Pike's 5 Rules of Programming](https://www.cs.unc.edu/~stotts/COMP590-059-f24/robsrules.html) which has gone viral this week. Digging deeper, though, Rob also has [a variety of Go development proverbs](https://go-proverbs.github.io/) which he shared in [▶️ this classic talk.](https://www.youtube.com/watch?v=PAAkCSZUG1c)
- If upgrading to macOS 26 (Tahoe) has broken your custom local TLDs (e.g. `.internal` or `.test`), [this Gist might come in useful.](https://gist.github.com/adamamyl/81b78eced40feae50eae7c4f3bec1f5a)
- **;?** Some analysis of how different programming languages (including Go) [handle a lack of mandatory semicolons.](https://terts.dev/blog/no-semicolons-needed/)
- 🤖 The Node.js community is wrestling with the role that LLM-produced code should play in its implementation, with the former creator of the _io.js_ fork [starting a petition to say 'no' to contributions built with AI assistance.](https://github.com/indutny/no-slop-in-nodejs-core)
- 🖼️ [JPEG Compression](https://www.sophielwang.com/blog/jpeg) is a neat interactive visual explainer walking through the stages of JPEG image compression.         

Curated by Peter Cooper and [Glenn Goodrich](https://twitter.com/ruprict).
Go is a [trademark of Google](https://go.dev/brand).
The [Go gopher](https://go.dev/blog/gopher), whenever used, is an original creation by Renée French. 

[Change your email](https://golangweekly.com/edit_subscription/*|UID|*)
[Stop getting this newsletter](https://golangweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
