Files
LazyPM/pkg/tui/tui.go
Robin Olsen 0dcfe3989d refine architecture
change module name to repo
2026-02-02 11:22:20 +01:00

19 lines
294 B
Go

package tui
import (
"github.com/LazyBachelor/LazyPM/internal/service"
"context"
)
type TUIConfig = service.Config
func Run(ctx context.Context, config TUIConfig) error {
_, cleanup, err := service.NewServices(ctx, config)
if err != nil {
return err
}
defer cleanup()
return nil
}