revisi & dev routes
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user