Show HN: Go language extension with HTML templates
Category: devtools
Tags: go, html-templates, language-extension, code-generation
Score: 6.5/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 5)
GoX is a Go language extension that compiles HTML-like templates from .gox files into plain Go code (.x.go), enabling type-safe HTML templating with full editor integration via a language server that proxies gopls. It's interesting because it treats templates as first-class Go expressions while maintaining debuggability and editor features through bidirectional source mapping.
Target audience: backend devs
Repository: https://github.com/doors-dev/gox · Go · MIT · 38 stars
View on Hacker News