2024-05-09 16:37:50 +03:00
|
|
|
package fsmcontract
|
|
|
|
|
|
|
|
import (
|
|
|
|
"gitea.neur0tx.site/Neur0toxine/vegapokerbot/internal/config"
|
|
|
|
"gitea.neur0tx.site/Neur0toxine/vegapokerbot/internal/locale"
|
|
|
|
"github.com/mymmrac/telego"
|
|
|
|
"go.uber.org/zap"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Context interface {
|
|
|
|
App() App
|
|
|
|
Data() map[string]interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type App interface {
|
|
|
|
Log() *zap.SugaredLogger
|
|
|
|
TG() *telego.Bot
|
|
|
|
Conf() *config.Config
|
2024-05-09 17:42:42 +03:00
|
|
|
DB() Repositories
|
2024-05-09 16:37:50 +03:00
|
|
|
Localizer(string) locale.Localizer
|
|
|
|
}
|