global_run_params.go 272 B

1234567891011121314
  1. package component
  2. type GlobalRunParams struct {
  3. CustomRunParams map[string]any
  4. lastResult any
  5. }
  6. func (params GlobalRunParams) SetLastResult(value any) {
  7. params.lastResult = value
  8. }
  9. func (params GlobalRunParams) GetLastResult() any {
  10. return params.lastResult
  11. }