mastering bridging
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"satusehat-rssa/internal/handler"
|
||||
"satusehat-rssa/internal/midleware"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func MedicationStatement(e *gin.Engine, cphandler *handler.MedicationStatementHandler, m midleware.AuthMiddleware) {
|
||||
r := e.Group("MedicationStatement")
|
||||
r.POST("/", cphandler.CreateMedicationStatement)
|
||||
r.PUT("/:id", cphandler.UpdateMedicationStatement)
|
||||
}
|
||||
Reference in New Issue
Block a user