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

Method AppendUint64

zapcore/json_encoder.go:318–321  ·  view source on GitHub ↗
(val uint64)

Source from the content-addressed store, hash-verified

316}
317
318func (enc *jsonEncoder) AppendUint64(val uint64) {
319 enc.addElementSeparator()
320 enc.buf.AppendUint(val)
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)) }

Callers 6

AddUint64Method · 0.95
AppendUintMethod · 0.95
AppendUint32Method · 0.95
AppendUint16Method · 0.95
AppendUint8Method · 0.95
AppendUintptrMethod · 0.95

Calls 2

addElementSeparatorMethod · 0.95
AppendUintMethod · 0.65

Tested by

no test coverage detected