Initial commit
This commit is contained in:
14
internal/routes/routes.go
Normal file
14
internal/routes/routes.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"Tasker_API/internal/handlers"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// InitializeRoutes sets up the API routes.
|
||||
func InitializeRoutes(router *gin.Engine) {
|
||||
// Health check endpoint
|
||||
router.GET("/ping", handlers.PingHandler)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user