(fields []string)
| 394 | } |
| 395 | |
| 396 | func (e *exportableItem) ExportData(fields []string) map[string]any { |
| 397 | m := map[string]any{} |
| 398 | for _, f := range fields { |
| 399 | m[f] = fmt.Sprintf("%s:%s", e.Name, f) |
| 400 | } |
| 401 | return m |
| 402 | } |
| 403 | |
| 404 | func TestStructExportData(t *testing.T) { |
| 405 | tf, _ := time.Parse(time.RFC3339, "2024-01-01T00:00:00Z") |
nothing calls this directly
no outgoing calls
no test coverage detected