Commit Graph

6 Commits (master)

Author SHA1 Message Date
Oliver Gugger 08026dab93
multi: update linter, fix issues 7 months ago
sputn1ck 20db07dccf
fsm: add fsm module
This commit adds a module for a finite state machine. The goal of the
module is to provide a simple, easy to use, and easy to understand
finite state machine. The module is designed to be used in future
loop subsystems. Additionally a state visualizer is provided to
help with understanding the state machine.
8 months ago
sputn1ck 4baf88c414
multi: fix linter issues
This commit fixes outstanding linter issues, that we're not found by
running `make lint` locally. The linter issues were found by running
`docker run -v $(pwd):/build loop-tools golangci-lint run --whole-files`

I added the `revive` to the excludes as it would be to much of a
refactor and IMO seems unneccesary. E.g.
`interface.go:222:6: exported: type name will be used as
loop.LoopInTerms by other packages, and that stutters; consider
 calling this InTerms (revive)`. I think `loop.LoopInTerms` is fine.
1 year ago
sputn1ck f0bf9302cc
make: dockerize linter 2 years ago
Oliver Gugger df088932a0
lint: allow init functions 5 years ago
Oliver Gugger a0a03b4972
only lint new issues, add linting to travis run 5 years ago