mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 13:22:09 +08:00
Update README.md
Distinguish between group and nested group
This commit is contained in:
parent
f07cae0141
commit
924505e0dc
@ -513,7 +513,7 @@ func main() {
|
|||||||
|
|
||||||
// nested group
|
// nested group
|
||||||
testing := authorized.Group("testing")
|
testing := authorized.Group("testing")
|
||||||
// visited 0.0.0.0:8080/testing/analytics
|
// visit 0.0.0.0:8080/testing/analytics
|
||||||
testing.GET("/analytics", analyticsEndpoint)
|
testing.GET("/analytics", analyticsEndpoint)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user