// Remove cancels hook by identificator (key).
Remove cancels hook by identificator (key).
// Remove cancels hook by identificator ( key ) .
func (s *Shutdown) Remove(key string) {
	s.mutex.Lock()
	defer s.mutex.Unlock()
	delete(s.hooks, key)
}
func ( s * Shutdown ) Remove ( key string ) { s . mutex . Lock ( ) defer s . mutex . Unlock ( ) delete ( s . hooks , key ) }
Remove cancels hook by identificator (key).
Remove cancels hook by identificator ( key ) .