From 12ffc3461f76d09afd764dbb5f7908c21c02fead Mon Sep 17 00:00:00 2001 From: FedorovVladimir Date: Sat, 8 Apr 2023 19:24:03 +0700 Subject: [PATCH] clear --- cmd/valera/main.go | 8 -------- internal/commands/command.go | 13 ------------- 2 files changed, 21 deletions(-) delete mode 100644 internal/commands/command.go diff --git a/cmd/valera/main.go b/cmd/valera/main.go index 6f1c321..d8b4996 100644 --- a/cmd/valera/main.go +++ b/cmd/valera/main.go @@ -1,11 +1,8 @@ package main import ( - "fmt" "log" "net/http" - "valera/internal/calories" - "valera/internal/commands" "valera/internal/config" "valera/internal/db" "valera/internal/states" @@ -85,10 +82,5 @@ func main() { log.Println(err) } } - - switch userInfoDTO.GetStatus() { - case db.UserStateEat: - - } } } diff --git a/internal/commands/command.go b/internal/commands/command.go deleted file mode 100644 index db6f594..0000000 --- a/internal/commands/command.go +++ /dev/null @@ -1,13 +0,0 @@ -package commands - -type Command string - -const ( - Start = Command("/start") - Help = Command("/help") - Ping = Command("/ping") - Go = Command("/go") - Stat = Command("/stat") - Eat = Command("/eat") - Pause = Command("/pause") -)