14 lines
196 B
Go
14 lines
196 B
Go
package stf
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func GetExecutionContext(ctx context.Context) *executionContext {
|
|
executionCtx, ok := ctx.(*executionContext)
|
|
if !ok {
|
|
return nil
|
|
}
|
|
return executionCtx
|
|
}
|