feat (generate-file): screening form a tested and ok, form b not fully tested

This commit is contained in:
dpurbosakti
2025-12-03 16:10:23 +07:00
parent 4e88c591de
commit 5975721daf
11 changed files with 228 additions and 132 deletions
@@ -316,7 +316,9 @@ func SetRoutes() http.Handler {
"PATCH /{id}/validate": resume.Validate,
})
hk.GroupRoutes("/v1/screening", r, auth.GuardMW, hk.MapHandlerFunc{
"POST /": screening.O.Create,
"POST /": screening.O.Create,
"GET /": screening.O.GetList,
"GET /{id}": screening.O.GetDetail,
})
/******************** actor ********************/
hc.RegCrud(r, "/v1/person", person.O)