From c3263c03776401ad1263a9fb8f5a44a8ed44d61b Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 17 Nov 2021 10:13:06 +0100 Subject: Refactored package structure --- client/state.go | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 client/state.go (limited to 'client/state.go') diff --git a/client/state.go b/client/state.go deleted file mode 100644 index 9565efc..0000000 --- a/client/state.go +++ /dev/null @@ -1,23 +0,0 @@ -package client - -import ( - "shell-game-launcher/config" -) - -type State struct { - config *config.Config - currentMenu string - login string -} - -func NewState(config *config.Config, login string) *State { - cs := State{ - config: config, - currentMenu: "anonymous", - login: login, - } - if login != "" { - cs.currentMenu = "logged_in" - } - return &cs -} -- cgit v1.2.3