add sqlite server

This commit is contained in:
Fran Jurmanović
2024-07-12 20:40:30 +02:00
parent 475a2bb4c4
commit edd1806de9
10 changed files with 124 additions and 34 deletions

View File

@@ -2,6 +2,7 @@ package api
import (
"github.com/gofiber/fiber/v2"
"go.uber.org/dig"
)
/*
@@ -12,8 +13,8 @@ Initializes Web API Routes.
Args:
*fiber.App: Fiber Application.
*/
func Init(app *fiber.App) {
Routes(app)
func Init(di *dig.Container, app *fiber.App) {
Routes(di, app)
}
type API struct {