code: func (h *Hooks) Match(id string) *Hook {
  	for i := range *h {
  		if (*h)[i].ID == id {
  			return &(*h)[i]
  		}
  	}
  
  	return nil
  }
docs: // Match iterates through Hooks and returns first one that matches the given ID,
  // if no hook matches the given ID, nil is returned