add crud vehicle

This commit is contained in:
vanilia
2025-10-20 08:53:36 +07:00
parent fba7bdbdc1
commit a11087a4de
11 changed files with 919 additions and 7 deletions
@@ -2,6 +2,7 @@ package handler
import (
"net/http"
"simrs-vx/internal/interface/main-handler/vehicle"
/******************** main / transaction ********************/
adime "simrs-vx/internal/interface/main-handler/adime"
@@ -295,6 +296,7 @@ func SetRoutes() http.Handler {
hc.RegCrud(r, "/v1/specialist", specialist.O)
hc.RegCrud(r, "/v1/subspecialist", subspecialist.O)
hc.RegCrud(r, "/v1/mcu-sub-src", mcusubsrc.O)
hc.RegCrud(r, "/v1/vehicle", vehicle.O)
hc.RegCrud(r, "/v1/village", village.O)
hc.RegCrud(r, "/v1/district", district.O)