updated code

This commit is contained in:
2024-05-11 16:52:23 +03:00
parent 5fc472832f
commit 2e773d3c7e
3 changed files with 67 additions and 16 deletions

View File

@@ -5,6 +5,7 @@ import (
"acooldomain.co/backend/auth"
"acooldomain.co/backend/dbhandler"
"acooldomain.co/backend/servers"
"acooldomain.co/backend/users"
"github.com/gin-gonic/gin"
)
@@ -24,6 +25,7 @@ func main() {
}
users.LoadGroup(router.Group("/users"), client)
auth.LoadGroup(router.Group("/auth"), client)
servers.LoadGroup(router.Group("/servers"), client)
router.Run("localhost:8080")
}