From 74856a96e1d639e9963564c94ab10e4bffb81fd2 Mon Sep 17 00:00:00 2001 From: Sas Andy Date: Fri, 10 May 2024 15:18:18 +0700 Subject: [PATCH] revisi & dev routes --- cmd/main.go | 2 +- handlers/client/transaksisamplestation.handler.go | 2 +- handlers/corporate/patient.handlers.go | 2 +- handlers/routes.go | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index bc8de23..6198519 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -31,7 +31,7 @@ func main() { // SETUP ROUT CLIENT handlers.SetupRoutesClient(app, appStore) // SETUP ROUT DEV - + handlers.SetupRoutesDev(app, appStore) app.Logger.Fatal(app.Start(":5000")) } diff --git a/handlers/client/transaksisamplestation.handler.go b/handlers/client/transaksisamplestation.handler.go index 71521a1..5c99bc2 100644 --- a/handlers/client/transaksisamplestation.handler.go +++ b/handlers/client/transaksisamplestation.handler.go @@ -2,7 +2,7 @@ package client_handlers import ( "cpone/utils" - client_transaksisamplestation "cpone/views/client/TransaksiSampleStation" + client_transaksisamplestation "cpone/views/client/transaksisamplestation" "github.com/labstack/echo/v4" ) diff --git a/handlers/corporate/patient.handlers.go b/handlers/corporate/patient.handlers.go index 47dcdf5..e5991f8 100644 --- a/handlers/corporate/patient.handlers.go +++ b/handlers/corporate/patient.handlers.go @@ -2,7 +2,7 @@ package corporate_handlers import ( "cpone/utils" - corporate_patient "cpone/views/corporate/Patient" + corporate_patient "cpone/views/corporate/patient" "github.com/labstack/echo/v4" ) diff --git a/handlers/routes.go b/handlers/routes.go index 318fd99..721bab0 100644 --- a/handlers/routes.go +++ b/handlers/routes.go @@ -175,3 +175,5 @@ func SetupRoutesClient(app *echo.Echo, appStore db.AppStore) { txSampleStationHandler := client_handlers.NewTransaksiSampleStationHandler(txSampleStationService) public.GET("/transaksi/samplestation", txSampleStationHandler.ShowTransaksiSampleStation) } + +func SetupRoutesDev(app *echo.Echo, appStore db.AppStore) {}