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

+16
View File
@@ -0,0 +1,16 @@
package routes
import (
"satusehat-rssa/internal/handler"
"satusehat-rssa/internal/midleware"
"github.com/gin-gonic/gin"
)
func Condition(e *gin.Engine, conditionHandler *handler.ConditionHandler, m midleware.AuthMiddleware) {
r := e.Group("Condition")
r.POST("/", conditionHandler.CreateCondition)
r.GET("/", conditionHandler.GetConditionByPatient)
r.PUT("/:id", conditionHandler.UpdateCondition)
// Add more routes as needed
}