Skip to content

can you add sub region? #46

@winds2016

Description

@winds2016

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions