This commit is contained in:
nquidox 2026-02-18 15:53:29 +03:00
commit 25439eab5b
10 changed files with 185 additions and 0 deletions

24
internal/app/handler.go Normal file
View file

@ -0,0 +1,24 @@
package app
import (
log "github.com/sirupsen/logrus"
"task-processor/config"
)
type App struct {
config config.Config
}
type Deps struct {
Config config.Config
}
func NewApp(deps Deps) *App {
return &App{
config: deps.Config,
}
}
func (app *App) Run() {
log.Info("App started")
}