summaryrefslogtreecommitdiff
path: root/internal/handlers/main.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-03-29 14:09:42 +0300
committerGrail Finder <wohilas@gmail.com>2025-03-29 14:09:42 +0300
commit7a3a73f2a7f2498c61c71f3242a0fcd6c56dfb69 (patch)
tree04b1999175a76af406ddcf11469280d607242d81 /internal/handlers/main.go
parent3921db6166e2da895257496bb76dd115556699d3 (diff)
Fix: code cleaning
Diffstat (limited to 'internal/handlers/main.go')
-rw-r--r--internal/handlers/main.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/handlers/main.go b/internal/handlers/main.go
index 960b26d..86f5b09 100644
--- a/internal/handlers/main.go
+++ b/internal/handlers/main.go
@@ -4,7 +4,6 @@ import (
"demoon/config"
"demoon/internal/database/repos"
"demoon/internal/models"
- "demoon/pkg/cache"
"html/template"
"log/slog"
"net/http"
@@ -18,7 +17,6 @@ type Handlers struct {
cfg config.Config
log *slog.Logger
repo repos.FullRepo
- mc cache.Cache
}
// NewHandlers constructor
@@ -32,7 +30,6 @@ func NewHandlers(
cfg: cfg,
log: l,
repo: repo,
- mc: cache.MemCache,
}
return h
}