Commit Graph

1 Commits

Author SHA1 Message Date
appleboy 1ab24b1efd
feat: add new router and ping route to main application
- Remove the import statement for "github.com/gin-gonic/gin" in main.go
- Add a new file called router.go in the router directory
- Create a new function called New() in router.go that returns a *gin.Engine
- Add a GET route for "/ping" in the New() function in router.go

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-01-27 23:02:26 +08:00