package app import ( "fmt" "time" "git.az-it.net/az/morz-infoboard/player/agent/internal/config" ) type App struct { Config config.Config } func New() (*App, error) { cfg := config.Load() if cfg.ScreenID == "" { return nil, fmt.Errorf("screen id is required") } return &App{Config: cfg}, nil } func (a *App) Run() error { for { time.Sleep(30 * time.Second) } }