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

Method AppendInt16

zapcore/json_encoder.go:338–338  ·  view source on GitHub ↗
(v int16)

Source from the content-addressed store, hash-verified

336func (enc *jsonEncoder) AppendInt(v int) { enc.AppendInt64(int64(v)) }
337func (enc *jsonEncoder) AppendInt32(v int32) { enc.AppendInt64(int64(v)) }
338func (enc *jsonEncoder) AppendInt16(v int16) { enc.AppendInt64(int64(v)) }
339func (enc *jsonEncoder) AppendInt8(v int8) { enc.AppendInt64(int64(v)) }
340func (enc *jsonEncoder) AppendUint(v uint) { enc.AppendUint64(uint64(v)) }
341func (enc *jsonEncoder) AppendUint32(v uint32) { enc.AppendUint64(uint64(v)) }

Callers

nothing calls this directly

Calls 1

AppendInt64Method · 0.95

Tested by

no test coverage detected