This commit is contained in:
Aditya Siregar
2025-08-03 00:34:25 +07:00
parent a759e0f57c
commit 96743cf50b
25 changed files with 2049 additions and 2141 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ package app
import (
"apskel-pos-be/internal/client"
"apskel-pos-be/internal/transformer"
"context"
"log"
"net/http"
@@ -74,6 +75,7 @@ func (a *App) Initialize(cfg *config.Config) error {
validators.paymentMethodValidator,
services.analyticsService,
services.tableService,
validators.tableValidator,
)
return nil
@@ -213,7 +215,7 @@ type services struct {
fileService service.FileService
customerService service.CustomerService
analyticsService *service.AnalyticsServiceImpl
tableService *service.TableService
tableService *service.TableServiceImpl
}
func (a *App) initServices(processors *processors, cfg *config.Config) *services {