code: func GetCapability(key string) *CapabilityMapping {
  	for _, capp := range capabilityList {
  		if capp.Key == key {
  			cpy := *capp
  			return &cpy
  		}
  	}
  	return nil
  }
docs: // GetCapability returns CapabilityMapping which contains specific key