This commit is contained in:
2025-03-19 14:55:12 +08:00
commit d746bc3935
11 changed files with 854 additions and 0 deletions

17
routes/routes.go Normal file
View File

@ -0,0 +1,17 @@
package routes
import (
"github.com/gin-gonic/gin"
"hr_receiver/controllers"
)
func SetupRouter() *gin.Engine {
r := gin.Default()
api := r.Group("/api/v1")
{
api.POST("/training", controllers.ReceiveTrainingData)
}
return r
}