task-processor/internal/app/handler.go

25 lines
295 B
Go
Raw Normal View History

2026-02-18 15:53:29 +03:00
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")
}