NewEventEnd creates a new EventEnd with the given context and output.
(ctx context.Context, output Output)
| 97 | |
| 98 | // NewEventEnd creates a new EventEnd with the given context and output. |
| 99 | func NewEventEnd(ctx context.Context, output Output) EventEnd { |
| 100 | return EventEnd{context: ctx, Output: output} |
| 101 | } |
| 102 | |
| 103 | // GetContext returns the context associated with the EventEnd. |
| 104 | func (e EventEnd) GetContext() context.Context { |
no outgoing calls