func (c *FooComputation) SubmitRecord(t *dagger.Record) ([]*dagger.Record, error) { t.Data = fmt.Sprintf("fooized: %v, state: %v", t.Data, c.counter) t.ID = uuid.NewV4().String() c.counter++ return []*dagger.Record{t}, nil }
func (c BarComputation) SubmitRecord(t *dagger.Record) ([]*dagger.Record, error) { t.Data = fmt.Sprintf("barized: %v", t.Data) return []*dagger.Record{t}, nil }