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

Method Int32

array.go:172–175  ·  view source on GitHub ↗

Int32 appends i as a int32 to the array.

(i int32)

Source from the content-addressed store, hash-verified

170
171// Int32 appends i as a int32 to the array.
172func (a *Array) Int32(i int32) *Array {
173 a.buf = enc.AppendInt32(enc.AppendArrayDelim(a.buf), i)
174 return a
175}
176
177// Int64 appends i as a int64 to the array.
178func (a *Array) Int64(i int64) *Array {

Callers

nothing calls this directly

Calls 2

AppendInt32Method · 0.65
AppendArrayDelimMethod · 0.65

Tested by

no test coverage detected