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

Function Int64s

array.go:79–81  ·  view source on GitHub ↗

Int64s constructs a field that carries a slice of integers.

(key string, nums []int64)

Source from the content-addressed store, hash-verified

77
78// Int64s constructs a field that carries a slice of integers.
79func Int64s(key string, nums []int64) Field {
80 return Array(key, int64s(nums))
81}
82
83// Int32s constructs a field that carries a slice of integers.
84func Int32s(key string, nums []int32) Field {

Callers 2

TestFieldConstructorsFunction · 0.85
TestArrayWrappersFunction · 0.85

Calls 2

ArrayFunction · 0.85
int64sTypeAlias · 0.85

Tested by 2

TestFieldConstructorsFunction · 0.68
TestArrayWrappersFunction · 0.68