refactory: rebuild route tree

This commit is contained in:
loveuer
2024-02-20 15:34:00 +08:00
parent 137d4ee5c8
commit 039f4cf8c0
19 changed files with 1738 additions and 324 deletions

View File

@ -7,7 +7,7 @@ import (
func main() {
app := nf.New(nf.Config{
DisableRecover: true,
DisableRecover: false,
})
app.Get("/hello/:name", func(c *nf.Ctx) error {