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

Function Complex64s

array.go:54–56  ·  view source on GitHub ↗

Complex64s constructs a field that carries a slice of complex numbers.

(key string, nums []complex64)

Source from the content-addressed store, hash-verified

52
53// Complex64s constructs a field that carries a slice of complex numbers.
54func Complex64s(key string, nums []complex64) Field {
55 return Array(key, complex64s(nums))
56}
57
58// Durations constructs a field that carries a slice of time.Durations.
59func Durations(key string, ds []time.Duration) Field {

Callers 2

TestFieldConstructorsFunction · 0.85
TestArrayWrappersFunction · 0.85

Calls 2

ArrayFunction · 0.85
complex64sTypeAlias · 0.85

Tested by 2

TestFieldConstructorsFunction · 0.68
TestArrayWrappersFunction · 0.68