()
| 51 | } |
| 52 | |
| 53 | func (e *FieldAmbiguousError) Error() string { |
| 54 | return fmt.Sprintf("field %q is ambiguous; multiple fields share this name (use --field-id with one of: %s)", e.Name, strings.Join(e.Candidates, ", ")) |
| 55 | } |
| 56 | |
| 57 | // ResolveFieldByName finds the single project field whose name matches name, |
| 58 | // case-insensitively. Matching is case-insensitive to mirror the Projects v2 |