Complex64p constructs a field that carries a *complex64. The returned Field will safely and explicitly represent `nil` when appropriate.
(key string, val *complex64)
| 110 | // Complex64p constructs a field that carries a *complex64. The returned Field will safely |
| 111 | // and explicitly represent `nil` when appropriate. |
| 112 | func Complex64p(key string, val *complex64) Field { |
| 113 | if val == nil { |
| 114 | return nilField(key) |
| 115 | } |
| 116 | return Complex64(key, *val) |
| 117 | } |
| 118 | |
| 119 | // Float64 constructs a field that carries a float64. The way the |
| 120 | // floating-point value is represented is encoder-dependent, so marshaling is |