Skip to content

Group routing #7

@joefazee

Description

@joefazee

it will be cool to have group routing instead of us doing

`r := mux.Classic()

    r.HandleFunc(http.MethodGet, "/admin/home",  adminHomeHandler)
     r.HandleFunc(http.MethodGet, "/admin/profile",  adminProfileHandler)`

We can just have maybe admin := mux.Group("admin") then admin.HandleFunc(http.MethodGet, "/home", adminHomeHandler)

Just a thought

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