🔱 Add custom routes to handle any method and path pattern
+
+> Handle any [Go 1.22 ServeMux](servemux) pattern by **defining a template with
+> that pattern as its name**. Path placeholders are available during template
+> execution with the `.Req.PathValue` method.
+>
+> ```html
+>
+> {{define "GET /contact/{id}"}}
+> {{$contact := .QueryRow `SELECT name,phone FROM contacts WHERE id=?` (.Req.PathValue "id")}}
+>
+> Name: {{$contact.name}}
+> Phone: {{$contact.phone}}
+>
+> {{end}}
+>
+>
+> {{define "DELETE /contact/{id}"}}
+> {{$_ := .Exec `DELETE from contacts WHERE id=?` (.Req.PathValue "id")}}
+> {{.RespStatus 204}}
+> {{end}}
+> ```
+
+[servemux]: https://tip.golang.org/doc/go1.22#enhanced_routing_patterns
+
+
+
+