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

Method AppendInt

buffer/buffer.go:56–58  ·  view source on GitHub ↗

AppendInt appends an integer to the underlying buffer (assuming base 10).

(i int64)

Source from the content-addressed store, hash-verified

54
55// AppendInt appends an integer to the underlying buffer (assuming base 10).
56func (b *Buffer) AppendInt(i int64) {
57 b.bs = strconv.AppendInt(b.bs, i, 10)
58}
59
60// AppendTime appends the time formatted using the specified layout.
61func (b *Buffer) AppendTime(t time.Time, layout string) {

Callers

nothing calls this directly

Calls 1

AppendIntMethod · 0.65

Tested by

no test coverage detected