stateless icon indicating copy to clipboard operation
stateless copied to clipboard

README does not explain where and how states are defined

Open tvogt opened this issue 1 year ago • 1 comments

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.

tvogt avatar Jul 14 '22 11:07 tvogt

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).

qmuntal avatar Jul 19 '22 16:07 qmuntal