ivpusic / neo

Go Web Framework
http://ivpusic.github.io/neo/
MIT License
420 stars 43 forks source link

can you add sub region? #46

Open winds2016 opened 6 years ago

winds2016 commented 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) { ... })