fix: modify interface check way (#3327)

This commit is contained in:
Jesse
2022-10-20 00:49:19 +08:00
committed by GitHub
parent 33ab0fc155
commit 51aea73ba0
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ type RouterGroup struct {
root bool
}
var _ IRouter = &RouterGroup{}
var _ IRouter = (*RouterGroup)(nil)
// Use adds middleware to the group, see example code in GitHub.
func (group *RouterGroup) Use(middleware ...HandlerFunc) IRoutes {