Distinguish between group and nested group (#3083)

This commit is contained in:
linzi 2022-03-17 11:55:08 +08:00 committed by GitHub
parent 7927a45143
commit 90330e2a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -513,6 +513,7 @@ func main() {
// nested group
testing := authorized.Group("testing")
// visit 0.0.0.0:8080/testing/analytics
testing.GET("/analytics", analyticsEndpoint)
}