GoWorkshopsqlctempl

Full-Stack Go: Domain-Driven Applications with sqlc and templ

A full-day, intermediate workshop building a complete Go application, from data ingestion through a type-safe sqlc data layer to a server-rendered templ UI, finishing with a theming block where every attendee shipped their own site.

GopherCon Africa

Oct 15, 2026 - Nairobi, Kenya
GopherCon Africa 2026 Workshop - ainsley clark

Build a complete full-stack application in Go, from data ingestion through persistence to a server-rendered UI, purely in Go. This full-day workshop teaches you how to design maintainable full-stack applications that age well.

We started from a working application built on a real public API: an animal-sightings site fed by GBIF records, stored in SQLite and enriched with Open-Meteo weather. From there we walked through five different architectures for the same feature (flat, layered, onion, hexagonal and feature-based) to see what domain-driven design actually buys you, then looked at how the app is built: a type-safe data layer with sqlc and a front-end written with templ. The build is a guided walkthrough of real, finished code, so the time goes on the decisions rather than the typing.

Agenda

BlockMinutes
Welcome and setup10
App intro20
Architecture and DDD practices50
Querying with sqlc40
Intro to templ40
Profiling20
Theming80
Wrapping up10

What attendees built

The hands-on part came last. Every attendee forked the workshop repository, profiled it under load with pprof and themed their own copy of the site using the /design-site skill in Claude Code or JetBrains Air, with two competitions running alongside: Best Website and Best Social Post. Thirty-three themed sites made it into the showcase, each served exactly as its author shipped it.

Sources & links