func (r *SpecExecutionStartingRequestProcessor) Process(msg *m.Message, context *t.GaugeContext) *m.Message { tags := msg.GetSpecExecutionStartingRequest().GetCurrentExecutionInfo().GetCurrentSpec().GetTags() hooks := context.GetHooks(t.BEFORESPEC, tags) return executeHooks(hooks, msg) }