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

Function Uint64

field.go:250–252  ·  view source on GitHub ↗

Uint64 constructs a field with the given key and value.

(key string, val uint64)

Source from the content-addressed store, hash-verified

248
249// Uint64 constructs a field with the given key and value.
250func Uint64(key string, val uint64) Field {
251 return Field{Key: key, Type: zapcore.Uint64Type, Integer: int64(val)}
252}
253
254// Uint64p constructs a field that carries a *uint64. The returned Field will safely
255// and explicitly represent `nil` when appropriate.

Callers 4

convertAttrToFieldFunction · 0.92
TestFieldConstructorsFunction · 0.85
UintFunction · 0.85
Uint64pFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestFieldConstructorsFunction · 0.68