Feat: add session

This commit is contained in:
2025-12-07 11:27:54 +08:00
parent 9c30bc009d
commit fb1c47b321
12 changed files with 400 additions and 12 deletions

11
middlewares/handlers.go Normal file
View File

@@ -0,0 +1,11 @@
package middlewares
import "gitea.konchin.com/go2025/backend/interfaces"
type Handlers struct {
db interfaces.Database
}
func NewHandlers(db interfaces.Database) *Handlers {
return &Handlers{db: db}
}