// DeRegister removes a handler pattern.
DeRegister removes a handler pattern.
// DeRegister removes a handler pattern .
func (mux *ServeMux) DeRegister(pattern string) {
	mux.mu.Lock()
	defer mux.mu.Unlock()
	delete(mux.m, pattern)
	n := len(pattern)
	if n > 0 && pattern[n-1] == '/' && !mux.m[pattern[0:n-1]].explicit {
		delete(mux.m, pattern[0:n-1])
	}
}
func ( mux * ServeMux ) DeRegister ( pattern string ) { mux . mu . Lock ( ) defer mux . mu . Unlock ( ) delete ( mux . m , pattern ) n := len ( pattern ) if n > 0 && pattern [ n - 1 ] == '/' && ! mux . m [ pattern [ 0 : n - 1 ] ] . explicit { delete ( mux . m , pattern [ 0 : n - 1 ] ) } }
DeRegister removes a handler pattern.
DeRegister removes a handler pattern .