From 00fc98e989d44af765337cfcb07934c6351c9f23 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Wed, 1 Sep 2021 14:42:12 +0800 Subject: [PATCH] fix: use correct type of fsm state --- internal/assuan/fsm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/assuan/fsm.go b/internal/assuan/fsm.go index 86de521..b7a60b3 100644 --- a/internal/assuan/fsm.go +++ b/internal/assuan/fsm.go @@ -36,7 +36,7 @@ const ( //go:generate enumer -type=State -text -transform upper // State represents an Assuan state. -type State fsm.Event +type State fsm.State // Enumeration of all possible states in the assuan FSM. // connected is the initial state when the client connects.