22 lines
340 B
Go
22 lines
340 B
Go
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) {
|
|
|
|
}
|
|
|