Skip to content
Search

Gomponents

lastmod 2025-01-25created 2025-01-251 edits

Lets you build reusable components that render to HTML5 using the familiar Go language

features

  • Type safety:
    • Type checking by the compiler
    • IDE autocompletion support
    • Easy debugging with the standard Go debugger
    • Automatic formatting with gofmt and goimports
  • Simple API: easy to use if you know HTML
  • Useful helper functions:
    • Text, Textf: insert HTML-escaped text
    • Raw, Rawf: insert raw strings
    • Map: data mapping
    • Group: grouping components
    • If, Iff: conditional rendering
  • No external dependencies
  • Mature and stable codebase (compatibility maintained)

See also

Favorite site

author Zer0 sitemap