Registry / web-framework / maragudk-gomponents

maragudk-gomponents

JSON →
library1.2.0gogounverified

HTML components in Go that render to HTML 5, providing a declarative way to build HTML with Go code.

go get github.com/maragudk/gomponents
INSTALL
IMPORT
SIG · MARAGUDK-GOMPONENT
M
maragudk-gomponents
web-frameworkgov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gomponents
github.com/maragudk/gomponents

Creates a simple div element with text and renders it to HTML.

package main import ( "fmt" "github.com/maragudk/gomponents" "github.com/maragudk/gomponents/html" ) func main() { node := html.Div(gomponents.Text("Hello, World!")) fmt.Println(node.Render()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
maragudk-gomponents — go get maragudk-gomponents · libregistry