summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-12-03 14:36:10 +0800
committerEltrac <hi@guhub.cn>2025-12-03 14:36:10 +0800
commitf7643a06846043cf932cf3d2eb7f49be5322ca56 (patch)
tree5366abbeb5e8428e12dccd4b322d79e5452bad9d /types.go
parent59ebb0972ee5107a208ef5e02759a7299afa9288 (diff)
feat: routes grouping
Diffstat (limited to 'types.go')
-rw-r--r--types.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/types.go b/types.go
index 45bdf2c..df3e496 100644
--- a/types.go
+++ b/types.go
@@ -24,3 +24,8 @@ type Router struct {
type Engine struct {
router *Router
}
+
+type Group struct {
+ prefix string
+ engine *Engine
+}