MCPcopy
hub / github.com/uber-go/zap / fakeFmtArgs

Function fakeFmtArgs

benchmarks/zap_test.go:158–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156}
157
158func fakeFmtArgs() []interface{} {
159 // Need to keep this a function instead of a package-global var so that we
160 // pay the cast-to-interface{} penalty on each call.
161 return []interface{}{
162 _tenInts[0],
163 _tenInts,
164 _tenStrings[0],
165 _tenStrings,
166 _tenTimes[0],
167 _tenTimes,
168 _oneUser,
169 _oneUser,
170 _tenUsers,
171 errExample,
172 }
173}

Calls

no outgoing calls

Tested by

no test coverage detected