started implementing api
This commit is contained in:
2
main.go
2
main.go
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"context"
|
||||
|
||||
"acooldomain.co/backend/auth"
|
||||
"acooldomain.co/backend/dbhandler"
|
||||
"acooldomain.co/backend/users"
|
||||
"github.com/gin-gonic/gin"
|
||||
@@ -22,6 +23,7 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
users.LoadGroup(router.Group("/users"), client)
|
||||
auth.LoadGroup(router.Group("/auth"), client)
|
||||
|
||||
router.Run("localhost:8080")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user