remove flow.State

addon-dailer
lqqyt2423 2 years ago
parent 1871fe4b53
commit 9d312a5739

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

Loading…
Cancel
Save