From e9f8db8ee8fccf60e58deb1d72766f94a053bb16 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 11:18:14 +0100 Subject: Document: Add comments for most functions and packages Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix --- client/fsm.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'client/fsm.go') diff --git a/client/fsm.go b/client/fsm.go index 2ce60ba..159464a 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -119,7 +119,6 @@ func newFSM( {To: StateLoadingServer, Description: "User clicks a server in the UI"}, {To: StateNoServer, Description: "Cancel or Error"}, }, - BackState: StateNoServer, }, StateAskLocation: FSMState{ Transitions: []FSMTransition{ @@ -137,7 +136,6 @@ func newFSM( }, {To: StateNoServer, Description: "Go back or Error"}, }, - BackState: StateNoServer, }, StateChosenServer: FSMState{ Transitions: []FSMTransition{ @@ -151,7 +149,6 @@ func newFSM( {To: StateNoServer, Description: "Go back or Error"}, {To: StateSearchServer, Description: "Cancel or Error"}, }, - BackState: StateNoServer, }, StateAuthorized: FSMState{ Transitions: []FSMTransition{ @@ -182,7 +179,6 @@ func newFSM( {To: StateNoServer, Description: "User wants to choose a new server"}, {To: StateOAuthStarted, Description: "Re-authorize with OAuth"}, }, - BackState: StateNoServer, }, StateDisconnecting: FSMState{ Transitions: []FSMTransition{ -- cgit v1.2.3