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

Method MarshalZerologObject

binary_test.go:228–232  ·  view source on GitHub ↗
(e *Event)

Source from the content-addressed store, hash-verified

226}
227
228func (u User) MarshalZerologObject(e *Event) {
229 e.Str("name", u.Name).
230 Int("age", u.Age).
231 Time("created", u.Created)
232}
233
234type Users []User
235

Callers

nothing calls this directly

Calls 3

TimeMethod · 0.45
IntMethod · 0.45
StrMethod · 0.45

Tested by

no test coverage detected