diff options
| author | Eltrac <hi@guhub.cn> | 2025-12-03 14:36:10 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-12-03 14:36:10 +0800 |
| commit | f7643a06846043cf932cf3d2eb7f49be5322ca56 (patch) | |
| tree | 5366abbeb5e8428e12dccd4b322d79e5452bad9d /types.go | |
| parent | 59ebb0972ee5107a208ef5e02759a7299afa9288 (diff) | |
feat: routes grouping
Diffstat (limited to 'types.go')
| -rw-r--r-- | types.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,3 +24,8 @@ type Router struct { type Engine struct { router *Router } + +type Group struct { + prefix string + engine *Engine +} |
