Update
This commit is contained in:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user