feat: add package creation and clone validation

This commit is contained in:
2026-09-16 13:55:56 +07:00
parent 94c3dd1a70
commit 19fe8c5d94
12 changed files with 1034 additions and 10 deletions

View File

@@ -41,6 +41,7 @@ func main() {
}
mux := http.NewServeMux()
mux.Handle("POST /api/cpone/paket", protected(http.HandlerFunc(handler.CreatePaket)))
mux.Handle("GET /api/cpone/paket", protected(http.HandlerFunc(handler.ListPaket)))
mux.Handle("GET /api/cpone/paket/{id}", protected(http.HandlerFunc(handler.GetPaket)))
mux.Handle("GET /api/cpone/layanan", protected(http.HandlerFunc(handler.ListLayanan)))