Categorygithub.com/joeycumines/go-detect-cycle
repository
1.0.1
Repository: https://github.com/joeycumines/go-detect-cycle.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-detect-cycle

Cycle detection for recursive functions, such as those walking branching directed graphs, like JSON serialisers.

Package Index

floyds

An immutable implementation of Floyd's Tortoise and Hare algorithm, with optional wrapper that allow you to simply pass one value in at a time, an invaluable feature in a recursive context.