This commit is contained in:
landaiqing
2024-07-31 13:35:43 +08:00
parent 57db496aa3
commit ff0fddd5c3
10 changed files with 341 additions and 0 deletions

12
router/router.go Normal file
View File

@@ -0,0 +1,12 @@
package router
import (
"github.com/gin-gonic/gin"
"go-chat/service"
)
func Router() *gin.Engine {
r := gin.Default()
r.GET("/index", service.GetIndex)
return r
}