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

Method AddTime

zapcore/json_encoder.go:200–203  ·  view source on GitHub ↗
(key string, val time.Time)

Source from the content-addressed store, hash-verified

198}
199
200func (enc *jsonEncoder) AddTime(key string, val time.Time) {
201 enc.addKey(key)
202 enc.AppendTime(val)
203}
204
205func (enc *jsonEncoder) AddUint64(key string, val uint64) {
206 enc.addKey(key)

Callers

nothing calls this directly

Calls 2

addKeyMethod · 0.95
AppendTimeMethod · 0.95

Tested by

no test coverage detected