1
0

Oh, removed an unneded IndexData struct.

This commit is contained in:
Alexander Andreev 2022-06-28 05:23:49 +04:00
parent e9a6ab2600
commit be776d0f2f
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -12,15 +12,6 @@ import (
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
) )
type IndexData struct {
MainSite string
CurrentPath string
FilesTotalCount int64
FilesTotalSize string
DirectoryCount int64
Items []files.DirEntry
}
type FilesHandlers struct { type FilesHandlers struct {
directoryPath string directoryPath string
assetsServer http.Handler assetsServer http.Handler