diff --git a/candidate.go b/candidate.go index 60d3536..b4b3722 100644 --- a/candidate.go +++ b/candidate.go @@ -16,6 +16,8 @@ import ( "github.com/samber/lo" ) +// TODO: Add event hook to export isLeader + type Candidate struct { C <-chan CandidateState