NewEventStart creates a new EventStart with the given context and type.
(ctx context.Context, t Type)
| 79 | |
| 80 | // NewEventStart creates a new EventStart with the given context and type. |
| 81 | func NewEventStart(ctx context.Context, t Type) EventStart { |
| 82 | return EventStart{context: ctx, Type: t} |
| 83 | } |
| 84 | |
| 85 | // GetContext returns the context associated with the EventStart. |
| 86 | func (e EventStart) GetContext() context.Context { |
no outgoing calls