middleware.go
func (ms *MiddlewareStack) Clear() {
	ms.stack = []MiddlewareFunc{}
	ms.skips = map[string]bool{}
}
func (ms *MiddlewareStack) Clear() {
	ms.stack = []MiddlewareFunc{}
	ms.skips = map[string]bool{}
}
func ( ms * MiddlewareStack ) Clear ( ) { ms . stack = [ ] MiddlewareFunc { } ms . skips = map [ string ] bool { } }
// Clear wipes out the current middleware stack for the App/Group,
// any middleware previously defined will be removed leaving an empty
// middleware stack.
Clear wipes out the current middleware stack for the App / Group any middleware previously defined will be removed leaving an empty middleware stack .