(val reflect.Value, indent string, currentIndent string, newlineChar string, quoteStr string)
| 334 | } |
| 335 | |
| 336 | func strIndentValue(val reflect.Value, indent string, currentIndent string, newlineChar string, quoteStr string) string { |
| 337 | if val.IsValid() && val.CanInterface() { |
| 338 | return strIndent(val.Interface(), indent, currentIndent, newlineChar, quoteStr) |
| 339 | } |
| 340 | return "<hidden>" |
| 341 | } |
| 342 | |
| 343 | func YesNo(val bool) string { |
| 344 | if val { |
no test coverage detected