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

Method AppendUint16

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

Source from the content-addressed store, hash-verified

340func (enc *jsonEncoder) AppendUint(v uint) { enc.AppendUint64(uint64(v)) }
341func (enc *jsonEncoder) AppendUint32(v uint32) { enc.AppendUint64(uint64(v)) }
342func (enc *jsonEncoder) AppendUint16(v uint16) { enc.AppendUint64(uint64(v)) }
343func (enc *jsonEncoder) AppendUint8(v uint8) { enc.AppendUint64(uint64(v)) }
344func (enc *jsonEncoder) AppendUintptr(v uintptr) { enc.AppendUint64(uint64(v)) }
345

Callers

nothing calls this directly

Calls 1

AppendUint64Method · 0.95

Tested by

no test coverage detected