189
}
190
192
>
we.Namespace, err = url.PathUnescape(matches[urlPathRE.SubexpIndex(urlPathNamespaceKey)])
193
>
if err != nil {
194
return nil, fmt.Errorf("failed to parse link to Link_WorkflowEvent: %w", err)
195
}
196
197
>
we.WorkflowId, err = url.PathUnescape(matches[urlPathRE.SubexpIndex(urlPathWorkflowIDKey)])
link_converter.go
198
>
if err != nil {
199
return nil, fmt.Errorf("failed to parse link to Link_WorkflowEvent: %w", err)
200
}
201
202
>
we.RunId, err = url.PathUnescape(matches[urlPathRE.SubexpIndex(urlPathRunIDKey)])
link_converter.go
203
>
if err != nil {
204
return nil, fmt.Errorf("failed to parse link to Link_WorkflowEvent: %w", err)
205
}
206
207
>
switch refType := link.URL.Query().Get(linkWorkflowEventReferenceTypeKey); refType {
link_converter.go
208
case eventReferenceType:
209
eventRef, err := convertURLQueryToLinkWorkflowEventEventReference(link.URL.Query())