From be776d0f2f41a80478e9d9813348b3fbaa196daf Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 28 Jun 2022 05:23:49 +0400 Subject: [PATCH] Oh, removed an unneded IndexData struct. --- internal/handlers/handlers.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 5927188..384efcf 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -12,15 +12,6 @@ import ( "github.com/julienschmidt/httprouter" ) -type IndexData struct { - MainSite string - CurrentPath string - FilesTotalCount int64 - FilesTotalSize string - DirectoryCount int64 - Items []files.DirEntry -} - type FilesHandlers struct { directoryPath string assetsServer http.Handler