Misc cleanup.

This commit is contained in:
mikestefanello 2024-06-15 09:09:36 -04:00
parent c8a3d64918
commit baa391fb20
6 changed files with 21 additions and 18 deletions

View file

@ -98,8 +98,12 @@ type Page struct {
// This will only be populated if the request ID middleware is in effect for the given request.
RequestID string
// HTMX provides the ability to interact with the HTMX library
HTMX struct {
Request htmx.Request
// Request contains the information provided by HTMX about the current request
Request htmx.Request
// Response contains values to pass back to HTMX
Response *htmx.Response
}