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

Method MarshalLogArray

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

Source from the content-addressed store, hash-verified

287type complex128s []complex128
288
289func (nums complex128s) MarshalLogArray(arr zapcore.ArrayEncoder) error {
290 for i := range nums {
291 arr.AppendComplex128(nums[i])
292 }
293 return nil
294}
295
296type complex64s []complex64
297

Callers

nothing calls this directly

Calls 1

AppendComplex128Method · 0.65

Tested by

no test coverage detected