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

Function Int32s

array.go:84–86  ·  view source on GitHub ↗

Int32s constructs a field that carries a slice of integers.

(key string, nums []int32)

Source from the content-addressed store, hash-verified

82
83// Int32s constructs a field that carries a slice of integers.
84func Int32s(key string, nums []int32) Field {
85 return Array(key, int32s(nums))
86}
87
88// Int16s constructs a field that carries a slice of integers.
89func Int16s(key string, nums []int16) Field {

Callers 2

TestFieldConstructorsFunction · 0.85
TestArrayWrappersFunction · 0.85

Calls 2

ArrayFunction · 0.85
int32sTypeAlias · 0.85

Tested by 2

TestFieldConstructorsFunction · 0.68
TestArrayWrappersFunction · 0.68