package
0.0.0-20240930014119-4fed34204df3
Repository: https://github.com/swdunlop/html-go.git
Documentation: pkg.go.dev
# Functions
Render parses the HX-Target header and returns the part that matches.
RenderPage renders a full page if the HX-Target header is not present, otherwise, it uses Render to render the targeted part of the page.
# Interfaces
The Part interface describes a part of a page with an ID that can be requested by an HTMX client.
# Type aliases
PartMap is a map of parts by ID provided to a page function by RenderPage.