aboutsummaryrefslogtreecommitdiff
path: root/pkg/view/filesystem.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/view/filesystem.go')
-rw-r--r--pkg/view/filesystem.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/view/filesystem.go b/pkg/view/filesystem.go
index d2ebff4..d598b88 100644
--- a/pkg/view/filesystem.go
+++ b/pkg/view/filesystem.go
@@ -4,25 +4,25 @@ import (
"github.com/valyala/fasthttp"
"git.sr.ht/~gabrielgio/img"
- "git.sr.ht/~gabrielgio/img/pkg/components/filesystem"
"git.sr.ht/~gabrielgio/img/pkg/database/repository"
"git.sr.ht/~gabrielgio/img/pkg/ext"
+ "git.sr.ht/~gabrielgio/img/pkg/service"
)
type (
FileSystemView struct {
- controller filesystem.Controller
+ controller service.FileSystemController
settings repository.SettingsRepository
}
FilePage struct {
- Page *filesystem.Page
+ Page *service.Page
ShowMode bool
ShowOwner bool
}
)
func NewFileSystemView(
- controller filesystem.Controller,
+ controller service.FileSystemController,
settingsRepository repository.SettingsRepository,
) *FileSystemView {
return &FileSystemView{