mirror of
https://github.com/Uttkarsh-raj/Plannerly.git
synced 2025-11-23 21:54:39 +02:00
12 lines
269 B
Go
12 lines
269 B
Go
|
|
package routes
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/Uttkarsh-raj/To_Do_App/controllers"
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
func UserRoutes(incomingRoutes *gin.Engine) {
|
||
|
|
incomingRoutes.POST("/user/signup", controllers.SignUp())
|
||
|
|
incomingRoutes.POST("/user/login", controllers.Login())
|
||
|
|
}
|