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

Method AppendTimeLayout

zapcore/encoder.go:125–125  ·  view source on GitHub ↗
(time.Time, string)

Source from the content-addressed store, hash-verified

123func encodeTimeLayout(t time.Time, layout string, enc PrimitiveArrayEncoder) {
124 type appendTimeEncoder interface {
125 AppendTimeLayout(time.Time, string)
126 }
127
128 if enc, ok := enc.(appendTimeEncoder); ok {

Callers 1

encodeTimeLayoutFunction · 0.65

Implementers 1

jsonEncoderzapcore/json_encoder.go

Calls

no outgoing calls

Tested by

no test coverage detected