Building HTML in Go
templ.guide
templ.guide
While some (including me at first) might dislike that it encourages use of dot imports, Gomponents’ use of them has actually grown on me. The crucial practical issue is to restrict the use of dot imports to your internal template package subdirectory, where it becomes obvious where the functions are coming from.