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

Method AppendDurations

encoder.go:17–17  ·  view source on GitHub ↗
(dst []byte, vals []time.Duration, unit time.Duration, format string, useInt bool, precision int)

Source from the content-addressed store, hash-verified

15 AppendBytes(dst, s []byte) []byte
16 AppendDuration(dst []byte, d time.Duration, unit time.Duration, format string, useInt bool, precision int) []byte
17 AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, format string, useInt bool, precision int) []byte
18 AppendEndMarker(dst []byte) []byte
19 AppendFloat32(dst []byte, val float32, precision int) []byte
20 AppendFloat64(dst []byte, val float64, precision int) []byte

Callers 5

DursMethod · 0.65
appendFieldListFunction · 0.65
DursMethod · 0.65
TestAppendDurationsFunction · 0.65
TestAppendDurationsFunction · 0.65

Implementers 2

Encoderinternal/cbor/base.go
Encoderinternal/json/base.go

Calls

no outgoing calls

Tested by 2

TestAppendDurationsFunction · 0.52
TestAppendDurationsFunction · 0.52