(value any)
| 542 | } |
| 543 | |
| 544 | func renderJSONPreview(value any) (string, error) { |
| 545 | content, err := json.MarshalIndent(value, "", " ") |
| 546 | if err != nil { |
| 547 | return "", fmt.Errorf("cli: render JSON preview: %w", err) |
| 548 | } |
| 549 | return string(content), nil |
| 550 | } |
| 551 | |
| 552 | func formatAgentTime(value time.Time) string { |
| 553 | if value.IsZero() { |
no outgoing calls
no test coverage detected