Add Transaction

This commit is contained in:
aditya.siregar
2024-07-30 23:39:55 +07:00
parent 719218da03
commit b6f75082e9
11 changed files with 395 additions and 26 deletions
+2
View File
@@ -10,6 +10,7 @@ import (
"furtuna-be/internal/handlers/http/product"
site "furtuna-be/internal/handlers/http/sites"
"furtuna-be/internal/handlers/http/studio"
"furtuna-be/internal/handlers/http/transaction"
"furtuna-be/internal/handlers/http/user"
swaggerFiles "github.com/swaggo/files"
ginSwagger "github.com/swaggo/gin-swagger"
@@ -58,6 +59,7 @@ func RegisterPrivateRoutes(app *app.Server, serviceManager *services.ServiceMana
site.NewHandler(serviceManager.SiteSvc),
mdtrns.NewHandler(serviceManager.OrderSvc),
license.NewHandler(serviceManager.LicenseSvc),
transaction.New(serviceManager.Transaction),
}
for _, handler := range serverRoutes {