예제 #1
0
파일: foo.go 프로젝트: nsaje/dagger
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
}