{"id":51679,"library":"shurcool-htmlg","title":"htmlg","description":"Package htmlg contains helper funcs for generating HTML nodes and rendering them.","status":"active","version":"0.0.0-20230705022835-a97fae3bef2c","language":"go","source_language":null,"source_url":"https://github.com/shurcooL/htmlg","tags":["html","generation","rendering"],"install":[{"cmd":"go get github.com/shurcooL/htmlg","lang":"bash","label":"Install github.com/shurcooL/htmlg"}],"dependencies":[],"imports":[{"symbol":"htmlg","correct":"github.com/shurcooL/htmlg"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/shurcooL/htmlg\"\n\t\"golang.org/x/net/html\"\n)\n\nfunc main() {\n\tnode := htmlg.Div(htmlg.Text(\"Hello, World!\"))\n\tfmt.Println(htmlg.Render(node))\n}","lang":"go","description":"Create and render a div element with text."},"warnings":[],"env_vars":null,"search_vec":"'contain':4 'func':6 'generat':8,15 'helper':5 'html':9,14 'htmlg':1,3 'node':10 'packag':2 'render':12,16","created_at":"2026-06-15T06:25:47.428943+00:00","updated_at":"2026-06-15T06:25:47.428943+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/shurcooL/htmlg","github":"https://github.com/shurcooL/htmlg","docs":"https://pkg.go.dev/github.com/shurcooL/htmlg#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}