Skip to content

Commit

Permalink
creating routes directory and User file that is responsible for user
Browse files Browse the repository at this point in the history
routes
  • Loading branch information
Igor097 committed Nov 23, 2023
1 parent 0bba471 commit 2f51e33
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions routes/user.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package routes

import "github.com/gin-gonic/gin"

func UserRouter(router *gin.Engine) {
router.GET("/", func(c *gin.Context) {
c.String(200, "Hello World")
})

}

0 comments on commit 2f51e33

Please sign in to comment.