Updated some snippets and fixed feline

This commit is contained in:
2025-02-07 21:43:12 +11:00
parent 8bc6f4229f
commit 9b842d2baa
6 changed files with 88 additions and 11 deletions

View File

@@ -146,4 +146,22 @@ if <err_same> != nil {
}
)
),
s(
"rh",
fmta(
[[
func Handle<name>() http.Handler {
return http.HandlerFunc(
func(w http.ResponseWriter, r *http.Request) {
<action>
},
)
}
]],
{
name = i(1),
action = i(2),
}
)
),
})