From bc70a6ca2806f74b7496fe5f8348eafe320beb07 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Mon, 1 May 2023 17:00:06 -0400 Subject: [PATCH] Terminate is now a proper nil Node --- fsm/nodes.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fsm/nodes.go b/fsm/nodes.go index 4a12df5..ab1d04d 100644 --- a/fsm/nodes.go +++ b/fsm/nodes.go @@ -98,7 +98,4 @@ var SanitizeLinks = Node{ }, } -var Terminate = Node{ - State: "Terminate", - Transitions: map[Event]*Transition{}, -} +var Terminate Node