MCPcopy Create free account
hub / github.com/develar/app-builder / AppendDuration

Method AppendDuration

pkg/zap-cli-encoder/arrayEncoder.go:55–57  ·  view source on GitHub ↗
(v time.Duration)

Source from the content-addressed store, hash-verified

53}
54
55func (t *bufferArrayEncoder) AppendDuration(v time.Duration) {
56 t.AppendString(v.String())
57}
58
59func (t *bufferArrayEncoder) AppendFloat64(v float64) { t.buffer.AppendFloat(v, 64) }
60func (t *bufferArrayEncoder) AppendFloat32(v float32) { t.buffer.AppendFloat(float64(v), 32) }

Callers

nothing calls this directly

Calls 2

AppendStringMethod · 0.95
StringMethod · 0.80

Tested by

no test coverage detected