feat: auth handler init

This commit is contained in:
2025-05-19 10:13:25 +02:00
parent 1a2130992b
commit cb91a10192

21
internal/auth/routes.go Normal file
View File

@ -0,0 +1,21 @@
package auth
import (
"gitea.local/admin/hspguard/internal/repository"
"github.com/go-chi/chi/v5"
)
type AuthHandler struct {
repo *repository.Queries
}
func NewAuthHandler(repo *repository.Queries) *AuthHandler {
return &AuthHandler{
repo: repo,
}
}
func (h *AuthHandler) RegisterRoutes(router chi.Router, api chi.Router) {
}