Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ putSliceEncoder
Function
putSliceEncoder
zapcore/console_encoder.go:41–44 ·
view source on GitHub ↗
(e *sliceArrayEncoder)
Source
from the content-addressed store, hash-verified
39
}
40
41
func
putSliceEncoder(e *sliceArrayEncoder) {
42
e.elems = e.elems[:0]
43
_sliceEncoderPool.Put(e)
44
}
45
46
type
consoleEncoder
struct
{
47
*jsonEncoder
Callers
1
EncodeEntry
Method · 0.85
Calls
1
Put
Method · 0.80
Tested by
no test coverage detected