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

Method AppendBool

buffer/buffer.go:72–74  ·  view source on GitHub ↗

AppendBool appends a bool to the underlying buffer.

(v bool)

Source from the content-addressed store, hash-verified

70
71// AppendBool appends a bool to the underlying buffer.
72func (b *Buffer) AppendBool(v bool) {
73 b.bs = strconv.AppendBool(b.bs, v)
74}
75
76// AppendFloat appends a float to the underlying buffer. It doesn't quote NaN
77// or +/- Inf.

Callers

nothing calls this directly

Calls 1

AppendBoolMethod · 0.65

Tested by

no test coverage detected