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

@ -6,7 +6,7 @@ import (
)
func main() {
app := nf.New(nf.Config{BodyLimit: -1})
app := nf.New(nf.Config{BodyLimit: 30})
app.Post("/data", func(c *nf.Ctx) error {
type Req struct {