|
|
@ -113,7 +113,6 @@ type Flow struct {
|
|
|
|
done chan struct{}
|
|
|
|
done chan struct{}
|
|
|
|
|
|
|
|
|
|
|
|
Id uuid.UUID
|
|
|
|
Id uuid.UUID
|
|
|
|
State map[string]interface{} // Can add value by addon
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (f *Flow) MarshalJSON() ([]byte, error) {
|
|
|
|
func (f *Flow) MarshalJSON() ([]byte, error) {
|
|
|
@ -128,7 +127,6 @@ func NewFlow() *Flow {
|
|
|
|
return &Flow{
|
|
|
|
return &Flow{
|
|
|
|
done: make(chan struct{}),
|
|
|
|
done: make(chan struct{}),
|
|
|
|
Id: uuid.NewV4(),
|
|
|
|
Id: uuid.NewV4(),
|
|
|
|
State: make(map[string]interface{}),
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|