resetZeekRecord resets the zeek record with values that represent zero
(r any)
| 559 | |
| 560 | // resetZeekRecord resets the zeek record with values that represent zero |
| 561 | func resetZeekRecord(r any) { |
| 562 | p := reflect.ValueOf(r).Elem() |
| 563 | p.Set(reflect.Zero(p.Type())) |
| 564 | } |