An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Finite State Machine

![Tag and Release](https://github.com/smlx/fsm/workflows/Tag%20and%20Release/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/smlx/fsm/badge.svg?branch=main)](https://coveralls.io/github/smlx/fsm?branch=main)
[![Go Reference](https://pkg.go.dev/badge/github.com/smlx/fsm.svg)](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.