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

Function Uint

field.go:236–238  ·  view source on GitHub ↗

Uint constructs a field with the given key and value.

(key string, val uint)

Source from the content-addressed store, hash-verified

234
235// Uint constructs a field with the given key and value.
236func Uint(key string, val uint) Field {
237 return Uint64(key, uint64(val))
238}
239
240// Uintp constructs a field that carries a *uint. The returned Field will safely
241// and explicitly represent `nil` when appropriate.

Callers 2

TestFieldConstructorsFunction · 0.85
UintpFunction · 0.85

Calls 1

Uint64Function · 0.85

Tested by 1

TestFieldConstructorsFunction · 0.68