MCPcopy
hub / github.com/rs/zerolog / Int

Method Int

array.go:154–157  ·  view source on GitHub ↗

Int appends i as a int to the array.

(i int)

Source from the content-addressed store, hash-verified

152
153// Int appends i as a int to the array.
154func (a *Array) Int(i int) *Array {
155 a.buf = enc.AppendInt(enc.AppendArrayDelim(a.buf), i)
156 return a
157}
158
159// Int8 appends i as a int8 to the array.
160func (a *Array) Int8(i int8) *Array {

Callers

nothing calls this directly

Calls 2

AppendIntMethod · 0.65
AppendArrayDelimMethod · 0.65

Tested by

no test coverage detected