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

Method AddString

zapcore/json_encoder.go:195–198  ·  view source on GitHub ↗
(key, val string)

Source from the content-addressed store, hash-verified

193}
194
195func (enc *jsonEncoder) AddString(key, val string) {
196 enc.addKey(key)
197 enc.AppendString(val)
198}
199
200func (enc *jsonEncoder) AddTime(key string, val time.Time) {
201 enc.addKey(key)

Callers 2

AddBinaryMethod · 0.95
TestJSONCloneFunction · 0.95

Calls 2

addKeyMethod · 0.95
AppendStringMethod · 0.95

Tested by 1

TestJSONCloneFunction · 0.76