()
| 27 | } |
| 28 | |
| 29 | func (src *Event) Copy() *Event { |
| 30 | dst := New() |
| 31 | dst.CopyFrom(src) |
| 32 | return dst |
| 33 | } |
| 34 | |
| 35 | // CopyFrom copies all tags from src except "time" and "event_id". If a key |
| 36 | // already exists in dst, it will be overwritten. |
no test coverage detected