summaryrefslogtreecommitdiff
path: root/client/fsm.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/fsm.go')
-rw-r--r--client/fsm.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/fsm.go b/client/fsm.go
index 79d0f62..0effb2a 100644
--- a/client/fsm.go
+++ b/client/fsm.go
@@ -109,7 +109,10 @@ func newFSM(
{To: StateNoServer, Description: "Reload list"},
{To: StateLoadingServer, Description: "User clicks a server in the UI"},
{To: StateChosenServer, Description: "The server has been chosen"},
- {To: StateSearchServer, Description: "The user is trying to choose a new server in the UI"},
+ {
+ To: StateSearchServer,
+ Description: "The user is trying to choose a new server in the UI",
+ },
{To: StateConnected, Description: "The user is already connected"},
{To: StateAskLocation, Description: "Change the location in the main screen"},
},
@@ -193,7 +196,9 @@ func newFSM(
},
},
StateConnected: FSMState{
- Transitions: []FSMTransition{{To: StateDisconnecting, Description: "App wants to disconnect"}},
+ Transitions: []FSMTransition{
+ {To: StateDisconnecting, Description: "App wants to disconnect"},
+ },
},
}
returnedFSM := fsm.FSM{}