Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ AppendTime
Method
AppendTime
zapcore/encoder.go:411–411 · zapcore/encoder.go::ArrayEncoder.AppendTime
(time.Time)
Source
from the content-addressed store, hash-verified
409
// Time-related types.
410
AppendDuration(time.Duration)
411
AppendTime(time.Time)
412
413
// Logging-specific marshalers.
414
AppendArray(ArrayMarshaler) error
Callers
8
MarshalLogArray
Method · 0.65
AppendTimeLayout
Method · 0.65
TestJSONEncoderTimeFormats
Function · 0.65
TestJSONEncoderArrays
Function · 0.65
TestJSONEncoderTimeArrays
Function · 0.65
TestSliceArrayEncoderAppend
Function · 0.65
TestEncoderConfiguration
Function · 0.65
TestBufferWrites
Function · 0.65
Implementers
2
jsonEncoder
zapcore/json_encoder.go
sliceArrayEncoder
zapcore/memory_encoder.go
Calls
no outgoing calls
Tested by
6
TestJSONEncoderTimeFormats
Function · 0.52
TestJSONEncoderArrays
Function · 0.52
TestJSONEncoderTimeArrays
Function · 0.52
TestSliceArrayEncoderAppend
Function · 0.52
TestEncoderConfiguration
Function · 0.52
TestBufferWrites
Function · 0.52