moved the service layer to its own package

This commit is contained in:
2026-06-23 17:54:01 +01:00
parent 2146dc8396
commit 9c7c6d528f
8 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -2,10 +2,11 @@
package tui
import (
"esdi/tui/internal/controllers"
"esdi/tui/internal/services"
"log/slog"
"esdi/services"
"esdi/tui/internal/controllers"
"github.com/rivo/tview"
)
@@ -16,6 +17,7 @@ type ControlPanel struct {
}
func NewControlPanel(logger *slog.Logger) *ControlPanel {
// NOTE: given the services should not be only for the TUI should this be here?
baseController := &controllers.Controller{
Logger: logger,
App: tview.NewApplication(),