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

Method AddTime

zapcore/encoder.go:384–384  ·  zapcore/encoder.go::ObjectEncoder.AddTime
(key string, value time.Time)

Source from the content-addressed store, hash-verified

382 AddInt8(key string, value int8)
383 AddString(key, value string)
384 AddTime(key string, value time.Time)
385 AddUint(key string, value uint)
386 AddUint64(key string, value uint64)
387 AddUint32(key string, value uint32)

Callers 6

EncodeEntryMethod · 0.65
TestMapObjectEncoderAddFunction · 0.65
TestEncoderConfigurationFunction · 0.65
AddToMethod · 0.65

Implementers 2

jsonEncoderzapcore/json_encoder.go
MapObjectEncoderzapcore/memory_encoder.go

Calls

no outgoing calls

Tested by 4

TestMapObjectEncoderAddFunction · 0.52
TestEncoderConfigurationFunction · 0.52