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

Method AddInt

zapcore/json_encoder.go:323–323  ·  view source on GitHub ↗
(k string, v int)

Source from the content-addressed store, hash-verified

321}
322
323func (enc *jsonEncoder) AddInt(k string, v int) { enc.AddInt64(k, int64(v)) }
324func (enc *jsonEncoder) AddInt32(k string, v int32) { enc.AddInt64(k, int64(v)) }
325func (enc *jsonEncoder) AddInt16(k string, v int16) { enc.AddInt64(k, int64(v)) }
326func (enc *jsonEncoder) AddInt8(k string, v int8) { enc.AddInt64(k, int64(v)) }

Callers

nothing calls this directly

Calls 1

AddInt64Method · 0.95

Tested by

no test coverage detected