We need a function with the signature (string, T) for zap.Any.
(key string, val []Field)
| 422 | |
| 423 | // We need a function with the signature (string, T) for zap.Any. |
| 424 | func dictField(key string, val []Field) Field { |
| 425 | return Object(key, dictObject(val)) |
| 426 | } |
| 427 | |
| 428 | type dictObject []Field |
| 429 |
no test coverage detected