code: func (m *PathRecorderMux) Unregister(path string) {
  	m.lock.Lock()
  	defer m.lock.Unlock()
  
  	delete(m.pathToHandler, path)
  	delete(m.prefixToHandler, path)
  	delete(m.pathStacks, path)
  	for i := range m.exposedPaths {
  		if m.exposedPaths[i] == path {
  			m.exposedPaths = append(m.exposedPaths[:i], m.exposedPaths[i+1:]...)
  			break
  		}
  	}
  
  	m.refreshMuxLocked()
  }
docs: // Unregister removes a path from the mux.