feat: login service and implement database storage
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
package internalhttp
|
||||
|
||||
import (
|
||||
authhttp "github.com/ardeman/project-legalgo-go/internal/api/http/auth"
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/go-chi/cors"
|
||||
"github.com/go-playground/validator/v10"
|
||||
"go.uber.org/fx"
|
||||
|
||||
chimware "github.com/go-chi/chi/v5/middleware"
|
||||
)
|
||||
|
||||
var Module = fx.Module("router",
|
||||
fx.Provide(initRouter),
|
||||
fx.Provide(
|
||||
initRouter,
|
||||
validator.New,
|
||||
),
|
||||
authhttp.Module,
|
||||
)
|
||||
|
||||
func initRouter() chi.Router {
|
||||
|
||||
Reference in New Issue
Block a user