Open CmderQ opened 2 years ago
What version is referenced in go.mod
? I'm going to guess it was v0.3.0 which was before the contexts were added.
go get -u github.com/looplab/fsm@3637340ce5e584a1ff164a85c477f31ad58bb33d
or whichever preferred gitref should update the import.
I will release a new version as soon as I’m able.
need release a new version
Hi, I see you example :
When run the demo , it errors:
So I look the code , found the callback :
type Callback func(*Event)
But the latest version, the callback :
type Callback func(context.Context, *Event)
So I try to update the code to the latest version:
But it not work