clear
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f1f2ae721b
commit
12ffc3461f
|
@ -1,11 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"valera/internal/calories"
|
|
||||||
"valera/internal/commands"
|
|
||||||
"valera/internal/config"
|
"valera/internal/config"
|
||||||
"valera/internal/db"
|
"valera/internal/db"
|
||||||
"valera/internal/states"
|
"valera/internal/states"
|
||||||
|
@ -85,10 +82,5 @@ func main() {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch userInfoDTO.GetStatus() {
|
|
||||||
case db.UserStateEat:
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
|
||||||
)
|
|
Loading…
Reference in New Issue