Hamlet: A type-safe Haml template engine for Go

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Haml

    HTML Abstraction Markup Language - A Markup Haiku

  • > I can't say what problem it is supposed to solve

    "Haml accelerates and simplifies template creation" https://haml.info/

    If you'd rather write raw HTML, keeping track of closing tags etc, then don't use HAML. No need to bash it because you personally feel it is ugly or unnecessary. FWIW I personally feel the exact opposite.

  • goht

    A Haml template engine for Go

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • go-slim

    Slim Template Engine for golang

  • SLIM is similar, but a bit cleaner: https://github.com/mattn/go-slim

    Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.

  • syntax_suggest

    Searching for unexpected `end` syntax errors takes a lot of time. Let this gem do it for you!

  • I use Haml in my web framework, I use syntax_suggest [1] to count the missing pairs so I can insert them automatically at the end of the block. It would probably not be too difficult to do the same thing in Go.

    1. https://github.com/ruby/syntax_suggest/blob/main/lib/syntax_...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts