https://github.com/smlx/fsm
Simple Finite State Machine
https://github.com/smlx/fsm
Last synced: 8 months ago
JSON representation
Simple Finite State Machine
- Host: GitHub
- URL: https://github.com/smlx/fsm
- Owner: smlx
- License: apache-2.0
- Created: 2021-07-16T16:16:21.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T15:53:49.000Z (over 2 years ago)
- Last Synced: 2025-01-22T15:08:52.780Z (over 1 year ago)
- Language: Go
- Size: 64.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Finite State Machine

[](https://coveralls.io/github/smlx/fsm?branch=main)
[](https://pkg.go.dev/github.com/smlx/fsm)
The `fsm` module implements a minimal finite state machine.
I used this logic in multiple projects, so I decided I may as well publish it.
Honestly, this module is so simple you might be better off just copying the logic instead of importing it.
> [A little copying is better than a little dependency.](https://go-proverbs.github.io/)
## Usage
See the Go reference link above.