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

Method AddInt8

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

Source from the content-addressed store, hash-verified

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)) }
327func (enc *jsonEncoder) AddUint(k string, v uint) { enc.AddUint64(k, uint64(v)) }
328func (enc *jsonEncoder) AddUint32(k string, v uint32) { enc.AddUint64(k, uint64(v)) }
329func (enc *jsonEncoder) AddUint16(k string, v uint16) { enc.AddUint64(k, uint64(v)) }

Callers

nothing calls this directly

Calls 1

AddInt64Method · 0.95

Tested by

no test coverage detected