We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
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.mod
go get -u github.com/looplab/fsm@3637340ce5e584a1ff164a85c477f31ad58bb33d or whichever preferred gitref should update the import.
go get -u github.com/looplab/fsm@3637340ce5e584a1ff164a85c477f31ad58bb33d
Sorry, something went wrong.
I will release a new version as soon as I’m able.
need release a new version
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: