(m map[string]T)
| 160 | } |
| 161 | |
| 162 | func keys[T any](m map[string]T) []string { |
| 163 | out := make([]string, 0, len(m)) |
| 164 | for k := range m { |
| 165 | out = append(out, k) |
| 166 | } |
| 167 | return out |
| 168 | } |
| 169 | |
| 170 | func timeAttr(key string, value time.Time) attribute.KeyValue { |
| 171 | return attribute.String(key, value.Format(time.RFC3339)) |
no outgoing calls
no test coverage detected