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
- Text, Textf: insert HTML-escaped text
- Raw, Rawf: insert raw strings
- Map: data mapping
- Group: grouping components
- If, Iff: conditional rendering