stateless
stateless copied to clipboard
README does not explain where and how states are defined
Neither the example nor other text ever says where variables like offTheHook come from and what type they need to be. The example should be complete, including definitions.
The README can't contain all the definitions, else it would become unreadable. Please take a look at the runnable examples in https://github.com/qmuntal/stateless/blob/master/example_test.go, there you have everything you need (I hope).