(f reflect.StructField, fallback string)
| 491 | } |
| 492 | |
| 493 | func getFieldDescription(f reflect.StructField, fallback string) string { |
| 494 | if desc := getDocTagValue(f, "description"); desc != "" { |
| 495 | return desc |
| 496 | } |
| 497 | |
| 498 | return fallback |
| 499 | } |
| 500 | |
| 501 | func getFieldDefault(f reflect.StructField, fieldDefault string) string { |
| 502 | if defaultValue := getDocTagValue(f, "default"); defaultValue != "" { |
no test coverage detected