mastering bridging

This commit is contained in:
gigihshs
2025-11-24 09:13:08 +07:00
commit e1b99f8f38
115 changed files with 12298 additions and 0 deletions

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package routes
import (
"satusehat-rssa/internal/handler"
"satusehat-rssa/internal/midleware"
"github.com/gin-gonic/gin"
)
func Specimen(e *gin.Engine, h *handler.SpecimenHandler, m midleware.AuthMiddleware) {
group := e.Group("/specimen")
group.POST("/", h.CreateSpecimen)
group.GET("/", h.GetSpecimenByPatient)
group.PUT("/:id", h.UpdateSpecimen)
}