Rename fs variable

This commit is contained in:
2024-11-13 22:32:43 +01:00
parent 93963b1867
commit 6a9461d928
7 changed files with 20 additions and 20 deletions

View File

@@ -10,14 +10,14 @@ import (
// Handler provides common functionality for all handlers
type Handler struct {
DB *db.DB
FS *filesystem.Storage
S *filesystem.Storage
}
// NewHandler creates a new handler with the given dependencies
func NewHandler(db *db.DB, fs *filesystem.Storage) *Handler {
return &Handler{
DB: db,
FS: fs,
S: fs,
}
}