endpoints registered

master
nima 2024-06-07 15:13:33 +03:30
parent 4277b4cca2
commit 3e5b6d54e4
1 changed files with 11 additions and 1 deletions

12
main.go
View File

@ -2,10 +2,20 @@ package main
import (
db "netina/database"
"netina/router"
"github.com/labstack/echo/v4"
)
func main(){
db.Create_tables()
}
e := echo.New()
router.OwnerRoutes(e)
router.LicenseRoutes(e)
router.PlanRoutes(e)
router.StoreRoutes(e)
e.Logger.Fatal(e.Start(":8000"))
}