MCPcopy
hub / github.com/uber-go/zap / turducken

Struct turducken

zapcore/json_encoder_impl_test.go:533–533  ·  zapcore/json_encoder_impl_test.go::turducken

Nested Array- and ObjectMarshalers.

Source from the content-addressed store, hash-verified

531
532// Nested Array- and ObjectMarshalers.
533type turducken struct{}
534
535func (t turducken) MarshalLogObject(enc ObjectEncoder) error {
536 return enc.AddArray("ducks", ArrayMarshalerFunc(func(arr ArrayEncoder) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected