Oh, removed an unneded IndexData struct.
This commit is contained in:
parent
e9a6ab2600
commit
be776d0f2f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user