Int64p constructs a field that carries a *int64. The returned Field will safely and explicitly represent `nil` when appropriate.
(key string, val *int64)
| 170 | // Int64p constructs a field that carries a *int64. The returned Field will safely |
| 171 | // and explicitly represent `nil` when appropriate. |
| 172 | func Int64p(key string, val *int64) Field { |
| 173 | if val == nil { |
| 174 | return nilField(key) |
| 175 | } |
| 176 | return Int64(key, *val) |
| 177 | } |
| 178 | |
| 179 | // Int32 constructs a field with the given key and value. |
| 180 | func Int32(key string, val int32) Field { |