(f reflect.Type)
| 476 | } |
| 477 | |
| 478 | func ignoreCLI(f reflect.Type) bool { |
| 479 | if ignore, OK := typesToIgnoreCLI[f.String()]; OK && ignore { |
| 480 | return true |
| 481 | } |
| 482 | return false |
| 483 | } |
| 484 | |
| 485 | func isFieldRequired(f reflect.StructField) bool { |
| 486 | return getDocTagFlag(f, "required") |