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

Method MarshalLogArray

array.go:298–303  ·  view source on GitHub ↗
(arr zapcore.ArrayEncoder)

Source from the content-addressed store, hash-verified

296type complex64s []complex64
297
298func (nums complex64s) MarshalLogArray(arr zapcore.ArrayEncoder) error {
299 for i := range nums {
300 arr.AppendComplex64(nums[i])
301 }
302 return nil
303}
304
305type durations []time.Duration
306

Callers

nothing calls this directly

Calls 1

AppendComplex64Method · 0.65

Tested by

no test coverage detected