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

Method MarshalZerologArray

binary_test.go:237–241  ·  view source on GitHub ↗

User implements LogObjectMarshaler

(a *Array)

Source from the content-addressed store, hash-verified

235
236// User implements LogObjectMarshaler
237func (uu Users) MarshalZerologArray(a *Array) {
238 for _, u := range uu {
239 a.Object(u)
240 }
241}
242
243func ExampleEvent_Array() {
244 dst := bytes.Buffer{}

Callers

nothing calls this directly

Calls 1

ObjectMethod · 0.45

Tested by

no test coverage detected