code: func (cgl ConsumergroupList) Find(name string) *Consumergroup {
  	for _, cg := range cgl {
  		if cg.Name == name {
  			return cg
  		}
  	}
  	return nil
  }
docs: // Find returns the consumergroup with the given name if it exists in the list.
  // Otherwise it will return `nil`.