Open winds2016 opened 6 years ago
such as: father := app.Region().Prefix("/login") father.Use(fn Widdleware) son := father.Region().Prefix("/son") (or son := father.Prefix("/son")) //whole is /login/son son.Get("", func(ctx *neo.Ctx) (int, error) { ... })
such as: father := app.Region().Prefix("/login") father.Use(fn Widdleware) son := father.Region().Prefix("/son") (or son := father.Prefix("/son")) //whole is /login/son son.Get("", func(ctx *neo.Ctx) (int, error) { ... })